How do you declare a host variable (in COBOL) for an
attribute named emp-name of type VARCHAR(25) ?

Answers were Sorted based on User's Feedback



How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ..

Answer / obularaju

10 EMP-NAME.
49 EMP-NAME-LEN PIC S9(4) USAGE COMP.
49 EMP-NAME-TEXT PIC X(25).

Is This Answer Correct ?    19 Yes 0 No

How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ..

Answer / kb

Can some one please explain this ... what difference it makes ...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB2 Interview Questions

How do you simulate the explain of an embedded sql statement in spufi/qmf?

0 Answers  


What is a result table?

1 Answers  


What else is there in the PLAN apart from the access path?

1 Answers  


Who uses db2?

0 Answers  


What does db2 stand for?

0 Answers  






why should we bind the DB2 program . What if we did not BIND a BD2 program ??

9 Answers   Infosys, TCS, Xansa,


How to connect to db2 database from windows command line?

0 Answers  


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

0 Answers  


What is meant by concurrency?

1 Answers  


how can u nderstand the sql stmts executed successfully or not ?

1 Answers   TCS,


How is deadlock resolved?

0 Answers  


Which catalog tables contain authorization information?

1 Answers  


Categories