What will happen when we try to pass data from JCL to COBOL
using PARM parameter without declaring the length field in
Linkage Section?

Answers were Sorted based on User's Feedback



What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring..

Answer / 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

What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring..

Answer / 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

More JCL Interview Questions

what are the various stages of job processing?

0 Answers   IBM,


What statement marks the end of an in-stream or catalogued procedure?

1 Answers  


wht happens if cond=true ? pls give me with an example ?

2 Answers   Syntel,


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


What are steplib and joblib? What for they are used?

0 Answers  


what is the use of IEBGENER utility?

0 Answers  


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


what is JCLLIB and PROCLIB in jcl and their syntax

3 Answers   IBM,


Please explain with syntax and an example, the Inrec fields and Outrec build in sort.

4 Answers   CTS, TCS,


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


What is DATACOM db?

2 Answers  


Categories