Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Yeah, funny thing is, individually these things work fine.. Common array element, works fine. Qualified DS subfield, works fine. But as soon as you try a qualified DS array element subfield, it falls over.... I'll pass along your sugggestion, but I think he's already got a workaround in place... Thanks, Eric -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rob@xxxxxxxxx Sent: Wednesday, January 03, 2007 11:30 AM To: RPG programming on the AS400 / iSeries Subject: Re: Output a Qualified DS array element I am not so sure that it is the qualification that is a problem. I think it is more the fact that you are trying to use an array element. Do a little testing and see. Submit a DCR to get them to allow this. https://www-912.ibm.com/r_dir/ReqDesChange.nsf/Request_for_Design_Change?OpenForm Here's one possible solution: PrintDetail(Sfy(1).ord : Sfy(2).ord); P PrintDetail B D PrintDetail PI D Col1 like(something) const D Col2 like(something) const and put Col1 and Col2 on your O specs. Benefit is that PrintDetail can also do the worrying about checking for page overflow, etc. Rob Berendt
This mailing list archive is Copyright 1997-2026 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.