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



How to Pass table from a cobol program to another cobol program and how to use that table in calle..

Answer / dinesh

Via linkage section. Use it as a normal table.

Is This Answer Correct ?    15 Yes 2 No

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

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

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

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

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

Answer / gaurav

It can be passed using the COBOL pointers.

Is This Answer Correct ?    1 Yes 0 No

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

Answer / sj

we can pass table via linkage section means static table

Is This Answer Correct ?    0 Yes 0 No

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

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

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

Answer / santhosh

Ramkrishna is right, we cannt pass the table via linkage

Is This Answer Correct ?    1 Yes 3 No

How to Pass table from a cobol program to another cobol program and how to use that table in calle..

Answer / ramakrishna.d

We cant pass a table from one cobol program to another
cobol program

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More COBOL Interview Questions

what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."

1 Answers  


i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


can we use the two 01 level in file discription ?

6 Answers  


Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.

11 Answers   Deloitte,






How do you reference the following file formats from cobol programs?

0 Answers  


Can anybody give me example of subscript and index

5 Answers  


how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,


What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?

2 Answers   Cap Gemini,


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


Categories