What is a PROC? What is the difference between an instream
and a catalogued PROC?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you submit a job for execution?

640


what are the types of abends that occur on job failure? And explain the possible causes of these

1123


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5066


what are the various stages of job processing?

743


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

675






What do you know about jcl?

651


How do you overcome this limitation ?

701


Explain about LMQUERY�give a dialog information about a data set

906


How can the attributes of one sms dataset be copied to another dataset?

863


How can a fb file convert to vb file using sort program?

809


what happens in execution stage in job processing?

657


what sort card you will use to copy the data from one dataset to another dataset?

734


How does jcl act on a cobol code?

659


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

856


What does a disposition of (new,catlg,keep) for a dsn mean?

619