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 is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??

9 Answers   IBM, Infosys, TCS, Xansa, Xchanging,


If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?

4 Answers   Wipro,


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


how you will the direct the data to spool using sysout option?

0 Answers   IBM,






How much space OS allocates when you create a PS or PDS?

4 Answers  


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,


what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?

1 Answers   Accenture,


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


what are the types of abends that occur on job failure? And explain the possible causes of these

0 Answers  


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

0 Answers   Keane India Ltd,


How do you restart a step in JCL?

12 Answers   HSBC,


Categories