Answer Posted / siri
CALL:-CALL statement is used to execute the SUB program from the MAIN program.....
EX:-CALL 'SUB1' USING BY REFERENCE WS-VAR1
BY CONTENT WS-VAR1
BY REFERENCE IS DEAFAULT ITS NO NEED TO CODE...BY CONTENT IS NEED TO CODE IT IS PASS THE LENGTH OF THE DATA ITEM TO THE CALLED PROGRAM....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many sections are there in data division in COBOL?
how do you reference the printer file formats from cobol programs
What rules are to be followed while using the corresponding options?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Can we redefine the field of x(200) to less than 200?
i need a small 3d program using inline and outline.
Difference between cobol and cobol-ii?
How to know whether the module is dynamical or statistical?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How you can read the file from bottom?
How you can characterize tables in cobol?
What is cobol?
In COBOL programming, what is PERFORM? What is VARYING?
What is comp-1 and comp-2?