2008 Dec 08 8:32 PM
Hi,
After transferring data to a dataset, how long does the data stay inside the dataset? How long is the dataset named once it is named?
Thanks,
John
2008 Dec 08 8:47 PM
dataset if a file on the server, so it remains forever except if you delete it...
2008 Dec 08 8:47 PM
dataset if a file on the server, so it remains forever except if you delete it...
2008 Dec 08 9:13 PM
The problem that I has is that when I run this program less that a minute after running it, the dataset information is no longer there, not even its name:
DATA: par_file5 LIKE ifibl_aux_fields-allgunix. "Filename
DATA: V1(5) TYPE C VALUE 'HELLO',
V2(5) TYPE C.
IF par_file5 EQ space. "Kein Dateiname wurde angegeben
par_file5 = sy-repid. "--> Namen generieren
par_file5+8 = '.'.
WRITE sy-datlo TO par_file5+9(6) YYMMDD.
par_file5+15 = '.'.
par_file5+16 = sy-timlo.
CONDENSE par_file5 NO-GAPS.
ENDIF.
OPEN DATASET par_file5 FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
TRANSFER V1 TO par_file5.
CLOSE DATASET par_file5.
OPEN DATASET par_file5 FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
READ DATASET par_file5 INTO V2.
CLOSE DATASET par_file5.
2008 Dec 08 9:20 PM