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 |
can I copy book which contain db2 statment in procedure divion?
how can you identify wheather the program is using search or search all in the cobol program?
What is "Call by content" and "call by reference"?
how do you reference the fixed unblock file formats from cobol programs
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
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?
How do you reference the following file formats from cobol programs?
which one is the best of com and com-3.using of real time ?
Why we need to use redefine clause when we can define the variable seperately... what is actual need....
i want to store 20 digits . h will u do it in cobol ?