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 |
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
Why would you use find and get rather than to obtain?
What is an explicit scope terminator?
What is the difference between performing a SECTION and a PARAGRAPH?
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
what is the difference between perform varying and perform until
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do you set a return code to the JCL from a COBOL program?
what is the advantage of using redefines instead of delaring the variables ?
What is "Call by content" and "call by reference"?
What are the differences bitween cobol and cobol-2?
How many types of sorts are there in cobol?