|
Plain and simple, you will have to code for it. MOVE DDMM DD 2 MOVEL DDMM MM 2 MM IFEQ '01' MOVE 'JAN' MNTH 3 END MM IFEQ '02' MOVE 'FEB' MNTH 3 END ... Then concantnate your string. Michael Schutte Work 614-492-7419 email michael_schutte@xxxxxxxxxxxx sunny singh <franky_four_fing ures@xxxxxxxxx> To Sent by: rpg400-l@xxxxxxxxxxxx rpg400-l-bounces@ cc midrange.com Subject hi,all prob in rpg - 3 .storing 04/17/2006 12:56 dates PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@midrang e.com> hi all... i am using(learning) rpg - 3.. or rpg-400. i have a prob -- my date is stored in a physical file as packed decimal of four character in length. in format ddmm e.g. 2406) without year.but i want to display this date in the display subfile(subfile) as dd-mmm (e.g. 24 - jun) six characters.i dont know how to do this.. in rpg -3..(not rpg ile or rpg4) please help me, and give me solution . have anice day and good luck to all. thank you.... --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. -- 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.