An alternative approach that I've seen used is to output the PCML to the IFS and edit it to change the names before using in the wizard. Klutzy but it works.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On May 18, 2017, at 12:11 PM, Mitch Gallman <mgallman@xxxxxxxxxxxx> wrote:

Created an RFE (though it may need to be a PMR).

I have a service program that has two procedures.

Each procedure has a qualified data structure being used as a parameter. I named this qualified data structure the same in each procedure (T_REQUEST). When PCML is generated it has the two structs for T_REQUEST that are different. IWS ends up using the last struct found in the PCML for both procedures.

My work around is to never use the same data structure name twice in the service program if it's used as a template for a parameter.

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=105337

Mitch Gallman | U.S. Xpress, Inc.
IBM i Applications Developer

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.