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

Hi. I am currently working as a application developer. I would like to persue a DB2 certification exam. Can anybody please provide me the details about this exam like Syllabus, Cost and how to take the certification?

2 Answers  


What is a DBRM, PLAN ?

3 Answers  


What is a collection in db2?

0 Answers  


How to create db2 table in mainframe?

0 Answers  


What information is held in SYSIBM.SYSCOPY?

1 Answers  






what is the difference between declaring the cursor in WS section and Procedure division?

1 Answers   HCL,


cobol-db2 runjcl please?

2 Answers   DELL,


What is IMAGECOPY ?

6 Answers  


Explain what a plan is?

3 Answers   CTS,


What is a DB2 catalog?

2 Answers  


What are the bind parameters ibm db2?

0 Answers  


What is DCLGEN?

2 Answers  


Categories