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 do you reference the fixed unblock file formats from cobol programs
give the examples of strings in cobol
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
what are decleratives in cobol?
how do you reference the rrds file formats from cobol programs
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how the control comes back from subprogram to mainprogram
Why IBM?
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
can we read in input the file with a variable length ? please , how ..could you help me ?
what is SYNCHRONIZATION?