What is the syntax of SELECT statement when embedded in a
COBOL program?
Answer Posted / sivakumar sekharannair
EXEC SQL
SELECT
EMPNAME
INTO : HS-EMPNAME(Host variable)
FROM EMPTABLE
WHERE
EMPID = :HS-EMPID(Host variable)
END-EXEC.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
Is db2 a mainframe?
What is the maximum length of sqlca?
Is the primary key a clustered index?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What is data manager?
When do you specify the isolation level?
What is the maximum No of rows per page?
Explain what are the various isolation levels possible?
What is the clustering index in the db2 database?
What is page size in db2?
What is catalog database in db2?
What r the comman abends in db2, jcl and cobol???????
What does reorg do in db2?
What is plan in cobol db2?