u have passed sme charecters thru parm parameter in jcl. how do u
code in cobol to recieve the values u gave in parm ?

Answers were Sorted based on User's Feedback



u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the valu..

Answer / graham

by using 'USING' keyword in procedure division and dataname.
one restriction is, declaring length variable and dataname
in linkage section of covol program.

Is This Answer Correct ?    18 Yes 2 No

u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the valu..

Answer / gangadhara.m

by using 'USING' keyword in procedure division and dataname.
one restriction is, declaring length variable and dataname
in linkage section of covol program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

COMP field occupy ?

2 Answers  


WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


how to transfer the file from pc to mainframe??

4 Answers  


Name some of the examples of COBOl 11?

0 Answers   CSC,


Why would you use find and get rather than to obtain?

0 Answers  






WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


Describe the cobol database components?

0 Answers  


How do you set a return code to the JCL from a COBOL program?

4 Answers  


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


How is sign stored in a COMP field ?

3 Answers   Accenture,


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


Categories