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 |
In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
wht happens if we dnt give scope terminator ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How is sign stored in a comp-3 field?
how would find total records in files using seqientional
Where the Plan is located in CICS-DB2
What do you feel makes a good program?
What is the difference between a binary search and a sequential search?
Why there is no questions in this column?