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
What is sqlca?
What is runstats utility in db2?
B37 abend during spufi?
How can you do the explain of a dynamic sql statement?
How do I import data from excel to db2?
What is the advantage in De-normalizing tables in DB2?
How to connect to db2 database from windows command line?
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
Define db2 and its databases?
what is utility for parm lib
Define data page.
What r the comman abends in db2, jcl and cobol???????
Can we delete records from view?
What is iseries database?
what is the role of the cursor in db2?