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
what are decleratives in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between Global and External Variables?
Define static linking and dynamic linking.
Name the divisions, which are available in a cobol program?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is rmode(24)
Write the code to count the sum of n natural numbers.
What rules are to be followed while using the corresponding options?
What are the different open modes available in cobol?
What are different data types in cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
what is the use of outrecord?