hi guys
what r the diff types of procs in jcl?
bye
ramya
Answers were Sorted based on User's Feedback
Answer / manjunath
Hi Ramya,
There are 2 kinds of PROC
Instream and Catalog
Instream is written in the JCL itself and will be ended
with Pend
Catalog PROC's is written in another Member of the PDS and
called by the JCL
The Catalog PROC is more advantage because it can be used
by more than one JCL. so Generally most of the Companies
used Catalog Procs.
Hope this helps you
Thanks
Manjunath
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / dhans
Instream and Catalog procedure
Catalog Procedures:
A cataloged procedure is a set of JCL statements that are stored as a member in a partitioned data set.
Multiple jobs can invoke and use the same catalog procedure.
The main reason for using catalog procedures is to avoid coding the same JCL again and again.
Pend statement is optional in catalog procedure. So you do not need to code it in your JCL.
Instream Procedures:
The EXEC statements between the PROC and PEND statements are not executed when they are first encountered in the job stream. Instead, they are saved as a procedure to be called later.
Refer the below link
https://youtu.be/vJF478anFvM
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohamed khan
PEND can also be coded for a cataloged Procedure, but it's
Optional.
Up to 15 In-stream Procedures can be included in a single
job.
| Is This Answer Correct ? | 1 Yes | 7 No |
What does the TIME parameter signify ? What does TIME=1440 mean ?
List the various advantages of using jcl language?
wht happens if blksize = 0 and lrec = 0 ?
What is the purpose of disp parameter?
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.
how can u identify the db2 from jcl ?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?
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.
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?