|
There is a way to do it with Edit Masks, but it looks like it would take some Rocket Science tactics to make it work... manipulating the string in RPG IV seems much easier. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan Bale Sent: Tuesday, August 31, 2004 11:18 AM To: RPG programming on the AS400 / iSeries Subject: RE: Always print sign, + or -, in O-spec > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx / Fisher, Don > Sent: Tuesday, August 31, 2004 12:05 PM > > You might want to look at the user defined edit codes. They're > explained in the DDS manual. Ya. CRTEDTD command. And there is an option to print a positive sign, but it looks like it will print with a zero value as well. Oh, and it follows the numeric value, instead of an option to float it in front of the value. Looks like I'll take Bob's advice. BTW, it looks like OS/400 ships with edit codes 5-9 already defined (WRKOBJ *ALL/*ALL *EDTD). Is there a way to know whether any of these are used anywhere on the system? They were all created by *IBM back in 1992, and none show a Last Used Date on the object description (but "Usage data collected" is set to NO). Thanks all. db -- 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-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.