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

How can you split a table in to exactly half?

7 Answers   HSBC,


What is a bind card?

0 Answers  


What is a root page?

1 Answers  


What is the maximum length of sqlca?

0 Answers  


How to find last record before record through SQLRPGLE?

1 Answers   IBM,






What is dclgen in db2?

0 Answers  


What type of database is db2?

0 Answers  


how to unload different table data into different gdg files/ vsam files.

3 Answers  


What is cloudant database?

0 Answers  


This was related to -811 sqlcode, In a COBOL DB2 program which accesses employee table and selects rows for employee 'A', it should perform a paragraph s001-x if employee 'A' is present. In this case it gets -811 sqlcode, but still it process the paragraph s001-x. What could be wrong in my code.

3 Answers  


What is a synonym ?

2 Answers  


What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?

2 Answers   Cap Gemini,


Categories