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


Please Help Members By Posting Answers For Below Questions

how to run batch program without jcl?

10104


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1494


What does a disposition of (MOD,DELETE,DELETE) mean ?

676


can any one plzzzzzz tell the jcl code for creating ps using idcams

10546


Is automatic restart possible in jcl? If yes, how?

665






define cond parameter in jcl?

786


How to alter the parameters for the existing gdg?

725


How is the record format of an output dataset specified?

754


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

1937


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

844


What is jcl in mainframe?

708


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2229


What do you understand by the terms: joblib and steplib?

633


How to run cobol program using jcl?

662


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1634