|
You might want to use the %subst keyword instead? Something like this: C if %subst(flag: 5: 1) = 'Y' C exsr PrintSubRoutine C endif Yuriy Veletnik wrote:
I have a file:User User ID Flag usr1 YNNNYNNYYY usr2 NYNYNNYYNNN usr3 NYNNYYNYYYI need to create a report that will print all the records with 'Y' in position 5 of User Flag field. I'm new to RPG, understand that I need to use runtime array, having problems with details. Any help greatly appreciated.Yuriy Veletnik AS/400 Administrator Trade Associates Group, ltd 1730 W. Wrightwood Chicago, IL 60614 773.871.1300 x130
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.