Symbolic & Override parameters:
----------------------------------------
Please find the example below.hope it will be clear.
JCL for executing proc:
----------------------------
//MC24447 JOB (124E),'MANIK' ,CLASS=A,MSGCLASS = 0,
// MSGLEVEL=(1,1),NOTIFY=&SYSUID
//PROCLIB JCLLIB ORDER=(MMAT.TEST.PROCLIB)
// INLCUDE MEMBER = JOBLIBJ
//PROC1 EXEC TESTPROC
// LIBPFX=MMAP -----> SUBSTITUTION PARAMETERS
// DSNPFX=MMAP
// PROD=PROD
// SOUT=*
(OR)
//MC24447 JOB (124E),'MANIK' ,CLASS=A,MSGCLASS = 0,
// MSGLEVEL=(1,1),NOTIFY=&SYSUID
//PROCLIB JCLLIB ORDER=(MMAT.TEST.PROCLIB)
// INLCUDE MEMBER = JOBLIBJ
//PROC1 EXEC TESTPROC
//TESTPROC.INFILE DD DSN=MMAT.TEST.FILE1,DISP=SHR --->OVERRIDE PARAMETERS
//
PROC:
--------
Proc given below is catalog procedure.
LIBPFX= library prefix
DSNPFX = Dataset Prefix
//PROC1 TESTPROC
// LIBPFX=MMAP -----> SYMBOLIC PARAMETERS
// DSNPFX=MMAP
// PROD=PROD
// SOUT=*
//STEP1 EXEC PGM=TESTPGM
//INFILE DD DSN=&DSNPFX..&PROD..INPUTFILE,DISP=SHR
//OUTFILE DD DSN=&DSNPFX..&PROD..OUTFILE,
// DISP=(,CATLG,CATLG),
// SPACE=(CYL,(1,1),RLSE)
//SYSIN DD DUMMY
//SYSOUT DD SYSOUT=&SOUT
//SYSPRINT DD SYSOUT=&SOUT
//
Entries "Code'd" and corrected but not aligned completely.