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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

646


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1874


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


How do define dynamic array in cobol.

671






In COBOL programming, what is PERFORM? What is VARYING?

670


Are you comfortable in cobol or jcl?

643


What guidelines should be followed to write a structured cobol prgm?

673


Write a program to enter and display the names of students in a class using the occurs clause.

652


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1614


What is cobol?

744


Discuss about changing dataset name in proc.

759


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1115


What is the compute verb? How is it used?

659


What are the access modes of START statement?

719