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

What will the FREE command do to a plan?

2 Answers  


how can we find nth max salary from A table

5 Answers   IBM,


What is a host variable?

3 Answers  


What is lock contention?

1 Answers  


what is utility for parm lib

1 Answers   IBM,


what is + sign and -ve sign for sql code ?

1 Answers   TCS,


What is meant by concurrency?

1 Answers  


What are the prerogatives?

1 Answers  


A Table feild is declared as Decimal(7,2). I want to insert the decimal in to this column thru cobol-db2 program. How should I declare my local input file variable or any suggestion?

7 Answers   IBM,


What is a correlated sub query?

2 Answers  


i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.

0 Answers  


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

5 Answers   Mphasis,


Categories