Skip to Content
0
Former Member
Dec 08, 2008 at 09:50 PM

OPEN DATASET dump

678 Views

Hi,

When I try the following, everything works, no dumps:

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 INPUT IN TEXT MODE ENCODING NON-UNICODE.

READ DATASET par_file5 INTO V2.

CLOSE DATASET par_file5.

However, when I comment the 1st open dataset section and just leave the second, I get a dump with the message 'DATASET_NOT_OPEN'. Why is this happening?

Also, is it possible to read the dataset details (when it was created, by whom, etc) from some table/

Please help.

Thanks,

John