Hi Linda
You could use ALLOC INDD=ddname in the PARM parameter of your JCL:
//RUNMYREP EXEC C2RC,PARM='ALLOC INDD=MYREP'
//MYREP DD DISP=SHR,DSN=GROUP.CARLA(MYREPORT)
But it is much more convenient to use the INCLUDE command:
//RUNMYREP EXEC C2RC
//MYREP DD DISP=SHR,DSN=GROUP.CARLA(MYREPORT)
//SYSIN DD *
INCLUDE DD=MYREP
or
//RUNMYREP EXEC C2RC
//CARLALIB DD DISP=SHR,DSN=GROUP.CARLA
//SYSIN DD *
INCLUDE DD=CARLALIB M=MYREP
If you run your reports in ISPF, you can go to CO.1, add an entry for the PDS 'GROUP.CARLA' with a data set type CKRCARLA. Type an S in front of the entry to select it.
Then type an E in front of entry to show the members, and type an R to run a member.
Or use CO.3 + enter the member name to run the report.
------------------------------
Rob van Hoboken
------------------------------