embedded-sql Questions

1

I am getting some weird behavior of Pro-C procedure as shown below: #define BGHCPY_TO_ORA(dest, source) \ { \ (void)strcpy((void*)(dest).arr, (void*)(source)); \ (dest).len = strlen((const char *)...
Findlay asked 15/5, 2015 at 3:28

7

Solved

I'm taking a database course and I have to write a command line application. The prof wants us to write an ESQL (embed SQL) application. I have a feeling that this kind of technology is depreciate...
Amber asked 23/3, 2011 at 21:1

3

Solved

When working with embedded SQL in RPG, you often end up with a cursor and a dow-loop for processing all rows in your result. The condition in the loop is somehow dependent on SQLCOD and/or SQLSTT, ...
Eruption asked 13/3, 2013 at 15:40

1

How can I move a record from oracle to a Cobol array? When I move a single field, everything works as expected. When I try to move a record in an Oracle VARRAY I cannot get it to work. The PRO*COB...
Broody asked 21/11, 2011 at 9:3
1

© 2022 - 2024 — McMap. All rights reserved.