|
If the question is, know which edit code to use? Then I have should mention that, that very issue was one of the first things I put into CodeStudio. When you prompt an output spec, it gives you a little window with the edit codes in them and their formatting capabilities. You simply select the edit code and it shows you that code's output results. I assume if you don't use CodeStudio, you're using Code/400, and it wouldn't be that tough to add it to Code/400. Bob Cozzi cozzi@rpgiv.com Visit the new on-line iSeries Forums at: http://www.rpgiv.com/forum > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of Douglas Handy > Sent: Monday, December 10, 2001 8:11 AM > To: rpg400-l@midrange.com > Subject: Re: Edit codes > > Rick, > > >sorry Doug, doesn't help :( I would find hex conversion a lot harder to > >remember than just the codes :) > > > >Interesting bit of trivia though! > > The trivia was to explain why it was A-D, J-M, and 1-4, but you really don't > have to use mental hex conversions to make this work. Only do: > > Commas? Yes: 1-2 No: 3-4 > Print zero? Yes First No: Second (within the above groups) > Sign? CR: A-D Trailing minus: J-M None: 1-4 > > The first two questions get you to 1-4. You probably already remember the > trailing minus sign codes start at J. Just count letters starting at J, or at > A, or at N depending on what sign handling you want. > > Doug > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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.