In a program, variables are used but no DB2 involved in it.
Can you call it as host variables??
Answer Posted / mdvasanth86
In a Cobol-DB2 program, which is essentially a COBOL program
with SQL statements embedded into it, COBOL is the host
language and DB2 is the guest ( 'non-host' for lack of a
better word ).
When it is a pure COBOL program , there really is no point
in calling it a host variables, however, you can still call it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Name the divisions, which are available in a cobol program?
What are the various section in data division and briefly explain them.
How you can read the file from bottom?
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.
how to convert the recors form vsam file to db2 table tru file aid
What is the problem of ordered sequential files access?
i need a small 3d program using inline and outline.
What is the utilization of copybook in cobol?
how do you reference the variable unblock file formats from cobol programs
How to use the same COBOL program in Batch and CICS on lines? explain with an example
) how do u code after getting data?
What is perform what is varying?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
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 a scope terminator give example?