|
Hi,
I have to move a value from a 10 character field to a 2 decimal
ABC 10
xyz 2 0
I am doing a MOVEL operation to move this value to the numeric field.
Now if i have the value of ABC = 1, then the value passed on to XYZ is
10(Since it moves 1 from left, and initial value of XYZ is 00)
What is the edit code that i can use to remove the trailing Zeros before i
move the character field to the numeric field.?
Thanks in advance
Derek
_________________________________________________________________
More photos, more messages, more storage—get 2GB with Windows Live
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507
--
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.