In a program, variables are used but no DB2 involved in it.
Can you call it as host variables??
Answers were Sorted based on User's Feedback
Answer / shilpa
no it is not a host variable it is a working storage
variable or variables used in the program
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
how to transfer the file from pc to mainframe??
how do you reference the ksds vsam file formats from cobol programs
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
Explain about Redefines cluse?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
How you can read the file from bottom?
What is an in-line perform ?
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
What is the difference between binary search and sequential search?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?