‎2007 Aug 24 4:06 AM
hi experts,
when i use "open dataset" to write a file into sap dir, it fails to open a file without any system error,but when i use debug mode into it, it always successes.so i add "WAIT UP TO XXX SECONDS.", then it successes.
can anyone tell me why it happened and how can i handle such issues?
thanks
my code:
outfile like rlgrap-FILENAME
default XXXXXXXX' lower case,
....
......
........
open dataset outfile for output in text mode encoding default.
‎2007 Aug 24 4:22 AM
Hi,
I dont find any fault in your code. Please test it once again.
Here is the sample code
outfile like rlgrap-FILENAME default 'XXXXXXXX'.
open dataset outfile for output in text mode encoding default.
Regards,
Ravi G