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
What do you understand by the term notcat 2 – gs?
What are hierarchy levels in jcl?
Can we call instream to catalog and catalog to instream?
Explain how can return codes be tested before execution of a job step?
What is the purpose of dd dummy statement?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain about ISPF/TSO Commands
what is use of disp parameter in dd statement?
what is the JCL statement consists of?
Explain how can values be passed from the job stream to an executable program?
Explain dd statement in jcl?
What are the jcl procedures?
What is job control language?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat