how to copy the host variables from ps file into cobol program
other than include statement



how to copy the host variables from ps file into cobol program other than include statement..

Answer / dilon

by using copy statement we can copy the host variables from
the ps file..another method is we will directly declare host
structure in the cobol program....

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More DB2 Interview Questions

Is it possible to update a primary key value? If not, what is the error code given? If yes, can more than 1 primary key column be updated at a time?

8 Answers  


what is check point and restart Logic ? why do we go for that ??

2 Answers   CGI, UST, Xansa,


What is the difference between static and dynamic SQL?

1 Answers  


what is the use of cursors?

3 Answers   iGate,


How to handle null values in db2

4 Answers  


if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.

8 Answers   Wipro,


What is copy pending status in db2?

0 Answers  


What is db2 connect?

0 Answers  


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1 Answers   HeadStrong,


What is the syntax of SELECT statement when embedded in a COBOL program?

2 Answers  


What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?

3 Answers  


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  


Categories