Ashsih
New User
Joined: 20 Dec 2007 Posts: 29 Location: India
|
|
|
|
In below PROC
symbolic parameter is used and for every parameter valued is passed from JCl except OUTCLS and it's syntax is diffrent from other parmeter.
Could u anyone help me regarding this?
//GBXEXEC2 PROC OUTCLS='(,)',PWFTP=,
// PWEXEC=,PRCSCMD=,
// FTPCMD=,FTPFILE=,
// LOGDCB='(LRECL=250,RECFM=FB,BLKSIZE=27250)'
//REXEC EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=4000K
//STEPLIB DD DSN=TSS.VSPASCAL.PROD.SAMPRUN2,DISP=SHR
//SYSPRINT DD SYSOUT=&OUTCLS,DCB=RECFM=FBA
//SYSTSPRT DD DUMMY
//SYSUDUMP DD SYSOUT=&OUTCLS
//SYSIN DD DUMMY,DCB=BLKSIZE=80
//SYSTSIN DD DSN=&PWEXEC,DISP=SHR
// DD DSN=&PRCSCMD,DISP=SHR |
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
In the PROC declaration, you can give default values in case the parameter is not given in the EXEC PROC.
If parameter OUTCLS is omitted, it will receive the value '(,)'
Code: |
//SYSPRINT DD SYSOUT=(,),DCB=RECFM=FBA
...
//SYSUDUMP DD SYSOUT=(,) |
|
|