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 |
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What are the differences between COBOL and COBOL II?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How many sections are there in data division?.
Write down the divisions of cobol program?
Name some of the examples of COBOl 11?
Can we call a CICS program from a batch program or viceversa?If so, how?
what is the difference between PA & PF keys?
What is difference between static and dynamic call in cobol?
how to move the records from file to array table. give with code example
How do you set a return code to the JCL from a COBOL program?