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 |
Min no of member?s (PDS) in one directory block?
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
What is use of restart and how to use it?
What is the difference between run mode and addressing mode?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How can a job send a status message to a tso user at the completion of a job?
what is meant by jobtrac?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
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
i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two