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 |
Why occurs cannot be used in 01 level in COBOL?
How many sections are there in data division?.
How To move a value to an array using move verb?
How to define a array dynamically.....
Where the Plan is located in CICS-DB2
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
What does MAXCC 3 means? It is used in one my codes.
what is the difference b/w level no.01 & level no.77?
what is rediffine clause?in what situation it can use?give me real time example?
how do u indetify files succesfully executed or not ?
At the minimum, which division of COBOL is enough to be coded?
comp-3 field occupy?