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



In a program, variables are used but no DB2 involved in it. Can you call it as host variables??..

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

In a program, variables are used but no DB2 involved in it. Can you call it as host variables??..

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

In a program, variables are used but no DB2 involved in it. Can you call it as host variables??..

Answer / shilpa

no it is not a host variable

Is This Answer Correct ?    0 Yes 1 No

In a program, variables are used but no DB2 involved in it. Can you call it as host variables??..

Answer / baalu

hi,this is baalu.
thanx to shilpa such a beautiful ans togive me.
k bye

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More COBOL Interview Questions

how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


. How do we cast a variable in COBOL

1 Answers   HSBC,


plz any one tell clearly the justify right clause?

1 Answers  


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?

1 Answers  






What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


how many bytes do SPPPP999 will store?

18 Answers  


1) can we display the index?

3 Answers   ADP, IBM,


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

0 Answers   Valtech,


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?

5 Answers  


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


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?

4 Answers  


Categories