Previous Topic: Examples of Interactive OS Simulation Using SYSPARMNext Topic: Writing the Expiration Date


Writing Generation Data Sets

To write a generation of a data set, specify the GDG option on the SYSPARM parameter of the FILEDEF command. If you also want to write the generation number in the tape's internal label, specify the GENN and GENV parameters on the LABELDEF command. You must specify the GDG option on the SYSPARM parameter when you use the GENN and GENV parameters on the FILEDEF command. If you do not, CA VM:Tape sends an error message.

If you specify these parameters when you create a tape, you must specify the same parameters when you try to read the tape.