What is a PROC? What is the difference between an instream
and a catalogued PROC?
Answers were Sorted based on User's Feedback
Answer / guest
PROC stands for procedure. It is 'canned' JCL invoked by a
PROC statement. An instream PROC is presented within the
JCL; a catalogued PROC is referenced from a proclib
partitioned dataset.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / sudheer
Proc is a set of JCL statements, which will be used to
execute the job steps. There are two types of procs
1. Instream
2. Catalog
Instream procedures are defined within a job and executed
within a job. To terminate Instream procedure we use PEND
keyword.
Catalgo Procedures are defined outside of the job as a
member of PDS and executed outside of the job. In this
there will be no PEND statement required
| Is This Answer Correct ? | 7 Yes | 1 No |
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?
i have step1,step2,step3 from where can i start coding cond parameter ?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
Explain about User Information
What are the common jcl syntax errors you get? This is not abends?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
How can a fb file convert to vb file using sort program?
what is the purpose of SYSOUT parameter in the DD statement?
what is SOC4 error?