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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

747


What is db2 bind process?

753


How do I copy a table in db2?

573


How does a cursor work?

554


Mention the location where the output received from explain statement is stored.

628






Mention the way of highlighting as well as putting a cursor to use in a cobol program.

626


Which components manage deadlocks in db2?

610


What is rebind in db2?

574


How to create backup table in db2?

642


Explain the contents that are a part of dclgen.

657


List down the types of triggers in the db2 database?

589


What is a bind in db2?

591


What are types of indexes?

593


What is db2? Explain.

603


Where can you declare a cursor in a cobol-db2 program?

602