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.

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of disp parameter?

659


Suppose I have five jobs to do. But I want to hold one?

667


Explain dd statement in jcl?

654


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1740


i want to store 20 digits . how will u do it in cobol ?

870






what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

787


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9229


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

797


What is NOTCAT ?

756


What is timing concept in mainframe?

1673


Mention the types of job control statements?

702


how to run batch program without jcl?

10104


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

1106


what is use of dsn parameter in dd statement?

681


How can return codes be tested before execution of a job step?

939