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 |
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
1.Can we define condition-name conditions in FD entry.
What are the differences bitween cobol and cobol-2?
For rewrite, why is it mandatory that file needs to be opened?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
can we read records in a file from botom to top. if possible how can we read
How do u write test cases?
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
What are subroutines ? and how do we pass data to the sub routines?
can you declare redefine in level 01?