From: Alan Urtubia To: All
In the output specs of an RPG program, a date field can be printed without zero suppression by using the edit word '0 / / '. I need to define in an externally described file an edit code or edit word which would cause a date field to be displayed/printed without zero suppression. Any ideas?
From: Loren Elsen To: Alan Urtubia
I ran into the same thing coming from a S/36 to the AS/400-that is, DDS not allowing the '0 / / ' edit word for a six-byte date. There are two solutions:
1. Forget about the leading zero "05/18/93" and just use edit code 'Y' and get " 5/18/93".
2. Z-ADD the date to a 7-byte field and use the same edit word you used to use with a program-defined file. The downside with this one is that there will be an extra space in front of the date-not really a problem, but it can make your display look a little strange. For what it's worth, I just started using "Y" to edit dates.
From: Pete Hall To: Alan Urtubia
You can modify one of the user-definable edit codes (5-9) to give you the type of date edit you want with the Create Edit Description (CRTEDTD) command.
Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.
IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn:
LATEST COMMENTS
MC Press Online