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 / randhir
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 last 2 bytes of parm data
will be lost.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
How can return codes be tested before execution of a job step?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
how do you code a null statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
what is the use of JCL?
In sms datasets, what is the function of the dd avgrec keyword?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Explain in DD statement what is the use of DCB parameter?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
how you will the direct the data to spool using sysout option?
how to run batch program without jcl?
Explain the purpose of dd * statement in jcl?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?