How to Pass table from a cobol program to another cobol
program and how to use that table in called program
Answers were Sorted based on User's Feedback
Answer / guest
Declare the tabe in both alling and called programs WS_Section
and Linkage section respectively..
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / maria
we can declare the internal table in both the called and calling program with the key word EXTERNAL .By doing this, the table data can be accessed in both the programs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sj
we can pass table via linkage section means static table
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
Can anyone explain this by example and give some sample code of both calling and called program ?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / santhosh
Ramkrishna is right, we cannt pass the table via linkage
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / ramakrishna.d
We cant pass a table from one cobol program to another
cobol program
| Is This Answer Correct ? | 3 Yes | 12 No |
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
how do u indetify files succesfully executed or not ?
How do u know what version of cobol u are using?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
describe 805 error
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks
)what is retrieve?
Can we put move statement in COBOL copybook
What is the point of the REPLACING option of a copy statement?