If i am going to change some variable in a copybook( size or
variable type) ,what are the changes that need to be done in
the corresponding JCL.
Answers were Sorted based on User's Feedback
Answer / muttaiah
Generally, There are 2 type of copybooks.
Data division copy book
These copybooks are usually used to represent the
structure of the file or variables used in Cobol. Say if
there are any changes in the layout of copybook. make sure
the length specified in JCL LRECL is appropriate.
Procedure division Copybook.
These copybooks will have some cobol stmts coded in them.
For this copybooks there can be no changes in JCL.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / muttiah
The only change would be to make sure the program is
compiled and link-edited, so as to get the changes
reflected in the load module you specify in the JCL.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / yashwant
If that copybook represents some data set in JCL and we are going to modify(changing length of any variable) the copybook and we are going to write some records in that dataset than we should have to modify the Logical record length(LRECL)of that dataset in JCL
| Is This Answer Correct ? | 3 Yes | 0 No |
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?
Can you delete the GDG base without deleting GDG generations ?
what is a steplib
How to release the Output HELD by using HOLD = YES on DD statement ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What does a disposition of (NEW,CATLG,KEEP) mean?
What is maximum length of block size?
5 Answers Cap Gemini, Kanbay, TCS,
How can you execute a COBOL program via SYSIN in JCL?
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 ?
What are the differences between JES2 & JES3 ?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
how can i use the parameters decalred in main pgm in sub pgm