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 |
What are some jcl statements that are not allowed in procedures?
In SPACE,what is directory,RLSE
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
How to do automated restart when a job abend?
Explain the function of the dd dcb keyword?
How would you understand error(execution phase)?
Is Default for MSGCLASS = (1,1) ?
how you can direct the data to spool using SYSOUT option?
Explain the jcl exec statement?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
What are three major types of JCL statements? What are their functions?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.