ESQL/C, COBOL and CHAR
Posted in 1998
Volker Fraenkle — — source: Informix-list mailing list archive (1991-1998)
Hello, we have a little problem to send COBOL-Structures with compressed digits to IDS via ESQL/C. Here is an Example: COBOL: 01 MY-RECORD. 05 FIELD1 PIC XX. 05 FIELD2 PIC 999999 COMP-3. Values of FIELD1: "AB" Values of FIELD2: 121171 HEX Value of MY-RECORD: 41 42 00 12 11 71 If we try to send MY-RECORD to a field like CHAR(10) via ESQL/C, MY-RECORD will truncated after FIELD1. If we send MY-RECORD to ORACLE CHAR(10), the whole record will be saved. Any suggestions, for that? Thanks, Volker -- Volker Fraenkle CS Controlling Technical Consultant Software Systeme GmbH E-Mail: VFraenkle@cs-controlling.de Phone: +49 7144 8144-0 Riedbachstrasse 5 Fax: +49 7144 8144-10 D-74385 Pleidelsheim