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 |
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?
What is multithreading in jcl?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
what are the types of abends that occur on job failure? And explain the possible causes of these
How to ALTER the name of a GDG ?
How can the attributes of one sms dataset be copied to another dataset?
What is catelog procedure and how many catelog procedure to use in one job?
What is the significance of addrspc parameter in exec statement?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
What is the difference between sb37,se37,sd37 each?
i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it
using cursor how can you fetch more than one record into a variable