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

if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


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

2 Answers  


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,






i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?

2 Answers  


soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?

7 Answers   CitiGroup, IBM,


consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

5 Answers   TCS,


What is R-mode and A-mode?

3 Answers   TCS,


How do you differentiate between cobol and cobol-ii?

0 Answers  


Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

5 Answers   IBM,


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

7 Answers   T systems,


Categories