DBA > Job Interview Questions > DB2 ( IBM Database 2 ) Interview Questions

How do you declare a host variable ...

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How do you declare a host variable ...

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

AN:
01 EMP-GRP, 49 E-LEN PIC S9(4) COMP, 49 E-NAME PIC X(25).

(Continued on next question...)

Other Job Interview Questions