What will happen when we try to pass data from JCL to COBOL
using PARM parameter without declaring the length field in
Linkage Section?
Answer Posted / madhu t
if we do not code the length field for parm in cobol then
the first 2 bytes of parm data will be used to stored the
length of parm field and also first 2 bytes of parm data
will be lost.
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
What is notcat 2 - gs?
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.
define cond parameter in jcl?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Does jcl support automatic restart?
How to do automated restart when a job abend?
What is the syntax of JCL statement?
Name a few IBM utility programs, and explain its function.
What are hierarchy levels in jcl?
How is a type of file defined in the jcl that executes the cobol program?
which parameter is use to declare the name of dataset in dd statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Are there any set of rules for the names of the steps used in a job? What are they?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.