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 resolve the soc4 error?
Describe the various parameters utilized in the creation of a gdg?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
What is the motivation behind coding class parameter in job statement?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
What is a Dummy Utility and what it does ?
Mention the types of job control statements?
How do You skip a Step In JCL?
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?