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 |
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
diff bw vsam and normal flat file?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?
Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition in the JCL that calls this PROC?
when can a job time-out occur? How to overcome that?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
what is mainframe?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Which is the most widely used batch performance monitor for DB2?