hi guys
what r the diff types of procs in jcl?
bye
ramya
Answer Posted / dhans
Instream and Catalog procedure
Catalog Procedures:
A cataloged procedure is a set of JCL statements that are stored as a member in a partitioned data set.
Multiple jobs can invoke and use the same catalog procedure.
The main reason for using catalog procedures is to avoid coding the same JCL again and again.
Pend statement is optional in catalog procedure. So you do not need to code it in your JCL.
Instream Procedures:
The EXEC statements between the PROC and PEND statements are not executed when they are first encountered in the job stream. Instead, they are saved as a procedure to be called later.
Refer the below link
https://youtu.be/vJF478anFvM
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I need exexution process for JCL programs
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
What are s0c1, s0c4, s0c5, s0c7 and socb?
What is the function of //cntl statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
which utility is used to sort a file in jcl?
Explain about LMQUERY�give a dialog information about a data set
What is the function of a dd statement?
How is the record format of an output dataset specified?
Explain the function of the steplib dd statement?
Explain the function of job statement in jcl?
Explain about LMFREE�free data set from its association with data ID
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is the syntax of JCL statement?
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?