Can you execute a PROC from another PROC?
Answer Posted / kingmanish
First of all what is a PROC.
Its just a set of reusable JCL statements.
Now calling PROC within a PROC will defeat the concept of
PROCs itself.
So if we call a PROC within a PROC it would work and we can
do that.
But that is not a good practice.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the function of dd name parameter with a 2 part structure; audit.report?
What are steplib and joblib? What for they are used?
What is the use of disp parameter?
Is condition checking possible in jcl? If yes, how?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How is the record format of an output dataset specified?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is the difference between the positional and keyword parameters? Give examples.
What is the significance of addrspc parameter in the exec statement?
Define concatenating?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What are steplib and joblib?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What are hierarchy levels in jcl?
What are the rules employed while naming the steps in a job?