Hi all,
We have a scenario, wherein it is required to override the DDname in a proc from the JCL. Sample jcl and proc is as given below. I have tried three different ways to override the ddname, but none of them are working.
I cannot use symbolics as there are some other constraints with it. This problem is only with the step executing SAS program, for any other proc I will be able to override the DDname. Please let me if there is any way to overcome this issue.
JCL:
------------------------------
//STEPA EXEC PROC=RAPROC
//PSTEPC1.OUT1 DD DSN=HLQ1.TEST.FILE=(,CATLG) ---> Not working
//OUT1 DD DSN=HLQ1.TEST.FILE,DISP=(,CATLG) ---> Not working
//RAPROC.PSTEPC1.OUT1 DD DSN=HLQ1.TEST.FILE,DISP=(,CATLG) ---> Not working
------------------------------
------------------------------
PROC:RAPROC
//PSTEPC1 EXEC SAS, /* This step executes a sas program */
// PARM='SYSPARM=''&RPTNAME'''
//OMLIST DD DSN=&&RESULTS,DISP=(OLD,DELETE)
//OUT1 DD DUMMY
//SYSIN DD DSN=ABC.DEF.GHI(AAAAA),DISP=SHR