‎2007 May 15 6:18 AM
‎2007 May 15 6:19 AM
‎2007 May 15 6:19 AM
‎2007 May 15 6:21 AM
‎2007 May 15 6:49 AM
‎2007 May 15 7:16 AM
Hi,
1................
OPEN DATASET is used to read and write data into the files that exist on the application server:
OPEN DATASET ...For INPUT --for reading from Aplln server
... For OUTPUT --for writing to Apppln server
2..................
Dataset can be opened for four tasks.
input - with this data can be Read only ,
output - file contains are cleard and new data wrtten,
appending- With this contains are appended to exsitng contains,
update - With this containsare updated in files anywhere.
I will tell you more about INPUT and OUTPUT:
Input: The addition FOR INPUT opens the file for reading. By default, the file pointer is set at the start of the file. If the file specified does not exist, sy-subrc is set to 8.
Means, file will be open for read only purpose.
Output : The addition FOR OUPUT opens the file for writing. If the specified file already exists, its content is deleted. If the file specified does not exist, it is created. Read access is also permitted.
Means file will open for writing purpose and old contains will be deleted
reward points if useful
regards,
Vana