|
Sorry, Thorbjørn, but you won't be getting a COBOL PIC 9(5) to workThanks! This conversion table should have been referenced in the external stored procedures section in the redbook I had been reading, would have saved me quite some time...
correctly. Please see
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzajp/rzajpequiv
sqlcobol.htm. NUMERIC(5, 0) is equivalent to specifying
PIC S9(5)
which is exactly what you're seeing in the dump. Note the S in front of the
9(5). This means that you are requesting a leading sign byte which is
exactly what you're getting.
>From the page above, it looks like there is no way to pass a 9(5) to a COBOL
program using SQL. :(
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.