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
Which Search verb is equivalent to PERFORM…VARYING?
What are the different data types in cobol?
Can a Search can be done on a table with or without Index?
What is the problem of ordered sequential files access?
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 utilization of copybook in cobol? Could we utilize a similar copybook?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What are the cobol coding sheets?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
how to refer the data field?
What guidelines should be followed to write a structured cobol prgm?
What are the different rules to perform a Search?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
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.