A statement about PROCs is "
In PROCs, Symbolic Parameters can be assigned on PROC and
EXEC", BUT On which EXEC,
(i) On the JCL's EXEC which is calling to PROC1.
(Inside JCL, EXEC PROC1)
(ii) or On the PROC's EXEC where it calls the PGM1.
(Inside PROC, EXEC PGM=PGM1)
Answers were Sorted based on User's Feedback
Answer / kalone
Hi,
It shud be on the Proc's Exec.See the below example :
//S1 EXEC PROC1,TYPE=P,CC=IN
Inside the PROC1
//PROC1 PROC
//P1 EXEC PGM=prog-name
//STEPLIB ....
//filename DD DSN=&&TYPE.&&CC
So , the Symbolic parameter TYPE and CC will be replaced by
P and IN
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / dedicated_programmer
Thank You Kalone,
And Could you please have a look on other NEW Questions
posted by me (Dedicated Programmer).
| Is This Answer Correct ? | 0 Yes | 1 No |
What are the differences between JES2 & JES3 ?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
In sms datasets, what is the function of the dd avgrec keyword?
i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How do you restart a PROC from a particular step?
What parameters can be used to limit the number of records written to a sysout dataset?
what is inrec fields and outrec fields in sorting
Can we delete the data using IEFBR14 , IEBGENER??
How to change default PROCLIB?