Data files

You can create up to 99 structured data files and to 99 unstructured data files. Each must be identified by a unique ddname in the data store start job.

This is an example of the creation of a structured and unstructured data file:

//STRUCT    EXEC PGM=IDCAMS
//SYSPRINT  DD  SYSOUT=*
//EQQSDF01  DD  UNIT=SYSDA,VOL=SER=S25PRA,DISP=OLD
//SYSIN     DD  *
    DELETE OPCDEV1.SDF01
    DEFINE CLUSTER (NAME(OPCDEV.SDF01) -
             VOLUMES(S25PRA) -
             TRACKS(1,1) -
             SHAREOPTIONS(2,3) -
             LINEAR)
//UNSTRUCT    EXEC PGM=IDCAMS
//SYSPRINT  DD  SYSOUT=*
//EQQUDF01  DD  UNIT=SYSDA,VOL=SER=S25PRA,DISP=OLD
//SYSIN     DD  *
    DELETE OPCDEV1.UDF01
    DEFINE CLUSTER (NAME(OPCDEV.UDF01) -
             VOLUMES(S25PRA) -
             TRACKS(1,1) -
             SHAREOPTIONS(2,3) -
             LINEAR)