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

What is null value in db2?

558


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

742


How do I create a view in db2?

597


What types of tables are there in the db2 database?

548


Explain in detail about buffer manager and its functionalities?

556






What is clone table?

590


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

1707


What are catalog tables in db2?

601


i want to maintain uniqueness on pdf without make lf??????????

1629


What is the difference between cursor and select statement?

609


What is db2? Explain.

601


What is runstats utility in db2?

568


What are concurrency issues?

626


What is meant by union and union all?

578


What are the contents of dclgen?

651