How do pass the values to the parameters in cobol
Answers were Sorted based on User's Feedback
Answer / sushant kumar mohanty
1) PARM (Receive in Linkage Section)
2) SYSIN DD* (Receive with ACCEPT statement)
3) Files ( Declare/Define/Open in the program)
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / naidu
You can pass the values to cobol program using 3 ways:
1.passing the parameters from SYSIN
2.using parm
3.using file
Is This Answer Correct ? | 2 Yes | 0 No |
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?
what happens when a copybook variables are declared using include statement ?
what is the difference between PA & PF keys?
how do u indetify files succesfully executed or not ?
What compiler option would you use for dynamic linking?
what is Reentrancy and Quasi-reentrancy?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
What are the different forms of EVALUATE statement?
Where the Plan is located in CICS-DB2
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
What are decleratives in COBOL ?
what are the control characters used in reports