|
The BIF's also make it obvious what you're trying to accomplish. Everyone raise your hand who's been burned by mis-understanding a MOVE! Matt ________________________________ From: rpg400-l-bounces@xxxxxxxxxxxx on behalf of rob@xxxxxxxxx Sent: Wed 2/7/2007 9:07 AM To: RPG programming on the AS400 / iSeries Subject: Re: Date conversion technique, alpha to Numeric Hey, I love BIF's. But I have to agree that the old overlay method would bear checking into for performance reasons. No MOVE though. I guess the advantage of the BIF might be the two birds with one stone Monitor; // Put date conversion bif here. On-error; // RPG's version of a MONMSG // Alert someone that this date is in a bad format. EndMon; Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Mike Berman <mikeba777@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 02/06/2007 04:29 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To rpg400-l@xxxxxxxxxxxx cc Fax to Subject Date conversion technique, alpha to Numeric HI I searched the archives but could not find an ILE routine that will take an 8 pos. character date and return a 6 numeric. At some point, the extra 2 are to be dropped.they are the left most so we are going from a CCYYMMDD to a YYMMDD. I would like to use Procedure for this. thanks, Mike --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. -- 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. -- 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.
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.