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
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)?
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.
How do u write test cases?
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?
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
Explain how to differentiate call by context by comparing it to other calls?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Which division and paragraphs are mandatory for a COBOL program?
what is the use of outrecord?
Explain what you understand by passing by value.
What is length is cobol?
What is the usage of comp fields in cobol?
In COBOL programming, what is PERFORM? What is VARYING?
how do you reference the rrds file formats from cobol programs
explain sorting techniques in cobol program?