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



If i am going to change some variable in a copybook( size or variable type) ,what are the changes t..

Answer / mdvasanth86

No changes in the JCL.

Is This Answer Correct ?    15 Yes 1 No

If i am going to change some variable in a copybook( size or variable type) ,what are the changes t..

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

If i am going to change some variable in a copybook( size or variable type) ,what are the changes t..

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

If i am going to change some variable in a copybook( size or variable type) ,what are the changes t..

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

Post New Answer

More JCL Interview Questions

At what stage, operator can change the class and priority of a submitted job?

2 Answers  


How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

2 Answers   IBM,


How jcl is used for testing batch programs?

0 Answers  


I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )

9 Answers  






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

0 Answers  


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

0 Answers  


My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)

11 Answers   HCL, IBM, L&T, TCS,


What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?

2 Answers  


What do you know about jcl?

0 Answers  


Can we write same stepname for one or more steps in on job ?

2 Answers  


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


Categories