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 are the 2 sqlcodes that are returned?
what is utility for parm lib
What is netezza database?
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What is a Foreign Key?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
What is schema in db2?
What is runstats db2?
How to execute stored procedure in db2 command editor?
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
What is the difference between using bind () and rebind () methods of naming class?
How will you return the number of records in table?
What do you mean by commit and rollback?
What is the picture clause of null indicator variable?
What is a page in db2?