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 do u code after getting data?
wht is the difference between goto and perform stmts
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
in how many mode we can open a file ?
what is sync clause?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
why we are using picture clause in the cobol programs?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are different file OPEN modes available in COBOL?
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?
I have a occurs for 100 times but it has executed 101 time what could be the reason?