First Prev Next Last. Showing Answers 1 - 5 of 5 Answers. Proc is the name which begins the procedure. Kishore Sharma Aug 4th, Dhanasekaran Jun 12th, Give your answer: If you think the above answer is not correct, Please select a reason and add your answer below. Open Questions Answered. Latest News. Friends, Kindly let me know how exactly include statement differ from catalogued procedure as I am now into lot more confusion. I would be grateful to you. Please help. From the JCL Reference manual: The order in which the system searches system and private libraries for INCLUDE groups is the same as the search order used for procedures see "Using a Procedure" in topic 5.
If necessary, you can modify the procedure for the current execution of the job step. When you call a procedure, the system retrieves it using the following search order: From the input stream If the called procedure is an in-stream procedure, the system retrieves it from the job input stream.
You must place the in-stream procedure before the EXEC statement that calls it. From a private library If the called procedure is cataloged in a private library, the system retrieves it from the private library that you specify on the JCLLIB statement that appears earlier in the job stream.
User-defined symbolic parameters are called JCL Symbols. There are certain symbols called system symbols , which are used for logon job executions. When the procedure is separated out from the JCL and coded in a different data store, it is called a Cataloged Procedure. A PROC statement is not mandatory to be coded in a cataloged procedure. Calling a procedure from within a procedure is called a nested procedure. Procedures can be nested up to 15 levels.
The nesting can be completely in-stream or cataloged.
0コメント