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 |
How to execute a set of JCL statements from a COBOL program ?
Can we call instream to catalog and catalog to instream?
which are the parameters mandatory in job card ?
Is condition checking possible in jcl? If yes, how?
how to put a dependency on job in jcl using opc scheduler?
How can a stopped job be started again?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below, What will be the output file name in each step ? PROC starts Step 1 has ID.GDG.FILE(+1) Step2 has ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ? PROC starts Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts Step2 has ID.GDG.FILE(+4) PEND
How do you find which GDG is using which dataset?
how to see the latest generation in gdg?
Is there any command to check wether the ps file is in sorted order?