|
I agree with a twist. If the database is defined as a numeric field, write a fix program and set those fields with blanks to zero. John Brandt iStudio400.com -----Original Message----- From: Scott Lindstrom [mailto:SLindstrom@xxxxxxxxxx] Sent: Tuesday, January 06, 2004 9:30 AM To: COBOL Programming on the iSeries/AS400 Subject: RE: [COBOL400-L] Re: Ignore Decimal Error "Frankly I think ignoring them is a lousy idea anyway - if you need to handle them you can always check the numeric fields by remapping the fields as character and checking the content _before_ you touch them as numerics." I agree with Jon. At my last job the programmers used the 'ignore decimal data error' option in the RPG programs. Once you start using this, it's hard to ever go back. Scott Lindstrom _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/03 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/04
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.