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 |
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
How do you come out of an EVALUATE statement?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
Describe the cobol database components?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
What is the difference between static call & Dynamic call?
how do you reference the printer file formats from cobol programs
In COBOL, what is the different between index and subscript?
0 Answers TryTechnicals Pvt Ltd,
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
At the minimum, which division of COBOL is enough to be coded?
How many maximum number of procedures can we write in one COBOL program?