|
When the CL program does the submit, the numeric parameters being passed must be defined as length 15 with decimal positions 5. This is not necessarily required when the CL program calls the RPG program directly. Larry Jansen -----Original Message----- From: Dan [mailto:dbcerpg@xxxxxxxxx] Sent: Friday, April 11, 2003 8:41 AM To: rpg400-l@xxxxxxxxxxxx Subject: Decimal-data error when SBMJOB, but not when called inline Maybe it's the severe brain fade from getting up too early. CL pgm CL1 calls ILE-RPG pgm RPG2 and does a SBMJOB of ILE-RPG pgm RPG3. There are numeric parameters being passed, from RPG2 back into CL1, which then is passed to RPG3 when it is submitted. RPG3 crashes because of Decimal-data error. Here's the kicker. If I change the CL program so that it does NOT submit pgm RPG3 but, rather, calls it inline, there's no Decimal-data error. Anyone??? TIA, Dan __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/03 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/03
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.