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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1228


What is the local-storage section?

681


What is the difference between Global and External Variables?

659


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1950


In which area will you utilize 88 level items in cobol?

712






What is the difference between binary search and sequential search?

636


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639


What is length is cobol?

641


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1776


What is difference between static and dynamic call in cobol?

772


What is the difference between next sentence and continue in cobol programing language?

705


How do you define a variable of comp-1 and comp-2?

699


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

702


Name the sections present in data division.

697


What are the different rules to perform a Search?

613