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 many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
how will u find out 3rd week's 2nd day using occurs ?
. How do we cast a variable in COBOL
plz any one tell clearly the justify right clause?
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
how many bytes do SPPPP999 will store?
1) can we display the index?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?