How do pass the values to the parameters in cobol

Answers were Sorted based on User's Feedback



How do pass the values to the parameters in cobol..

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

How do pass the values to the parameters in cobol..

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

Post New Answer

More COBOL Interview Questions

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?

5 Answers   Amdocs,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


what is the difference between PA & PF keys?

1 Answers   IBM,


how do u indetify files succesfully executed or not ?

4 Answers   TCS,


What compiler option would you use for dynamic linking?

2 Answers  






what is Reentrancy and Quasi-reentrancy?

1 Answers  


If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,


What are the different forms of EVALUATE statement?

2 Answers   IBM, Micro Labs,


Where the Plan is located in CICS-DB2

2 Answers   IBM,


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.

1 Answers   Mind Tree,


What are decleratives in COBOL ?

1 Answers   Xansa,


what are the control characters used in reports

1 Answers  


Categories