How do you code Cobol to access a parameter that has been
defined in JCL?

Answer Posted / shan

Ff it is SYSIN input in JCL,
ACCEPT <VARIABLE> FROM SYSIN
If it parameter is give through PARM, then COBOL program
should recieve through LINKAGE SECTION

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

842


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1153


How do u write test cases?

1815


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5594


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2871


Explain how to differentiate call by context by comparing it to other calls?

895


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2991


Which division and paragraphs are mandatory for a COBOL program?

916


what is the use of outrecord?

1964


Explain what you understand by passing by value.

905


What is length is cobol?

852


What is the usage of comp fields in cobol?

867


In COBOL programming, what is PERFORM? What is VARYING?

863


how do you reference the rrds file formats from cobol programs

1132


explain sorting techniques in cobol program?

882