× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.