01-09-2008 3:48 PM
I this case when trying to open the dataset we get a sy-sub of 8....an access problem?
Thank-You.
01-09-2008 3:55 PM
OPEN DATASET <dsn> [Additions].
This statement opens the file <dsn>. If you do not specify any additions for the mode, the file is opened in binary mode for reading. SY-SUBRC returns 0 if the system opens the file. Otherwise, SY-SUBRC is set to 8.
I hope path you are giving is not correct.
Regards,
Satya
01-09-2008 3:55 PM
OPEN DATASET <dsn> [Additions].
This statement opens the file <dsn>. If you do not specify any additions for the mode, the file is opened in binary mode for reading. SY-SUBRC returns 0 if the system opens the file. Otherwise, SY-SUBRC is set to 8.
I hope path you are giving is not correct.
Regards,
Satya
01-09-2008 4:45 PM
if sy-sub = 8, menas that unable to open the file, it might be due to filepath or name or both.
check both file path and file name.
01-09-2008 4:49 PM
If you are using a unicode system, you have to use ENCODING DEFAULT addition.