× 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.



Hi, David:

Also, did you realize that in addition to storing the generated PCML inside the *MODULE, you can also have the compiler write it to the IFS, at the same time? (as part of the same compilation)? :-) e.g., specify:

CRTBNDRPG PGM(QGPL/DSPPCMLR) SRCFILE(QGPL/QRPGLESRC) SRCMBR(DSPPCMLR) REPLACE(*YES) +
PGMINFO(*PCML *ALL) INFOSTMF('/home/PCML/dsppcmlr.pcml')

The secret is to specify *ALL for the PGMINFO parameter, along with *PCML. ;-)

So, you can update your "compile" specifications in your change management tools so this happens automatically, right? ;-)

(Of course, it would not hurt to also have that version of DSPPCML that can write the results to the IFS. Please share those modifications, e.g. via code.midrange.com, thanks.)

Hope that helps,

Mark S. Waterbury

> On 5/24/2016 9:48 AM, David Gibbs wrote:
On 5/23/2016 6:18 PM, Mark S Waterbury wrote:
So, what exactly do you mean by "... generate PCML directly ..."?

On occasion I've updated a program object (*PGM or *SRVPGM), that gets invoked via PCML, and forgot to update the PCML.

I'd like to find (or create) an API that I could call with very simple parameters that will generate them PCML in the IFS that I can transfer to the local environment and load.

That way I can change the procedure prototypes without having to worry that I accounted for the change in the PCML.

Barbara Morris published a nice little sample program here:

I found that late yesterday ... it does a lot of what I want to do. All I really need is to adapt it to write to the IFS instead of displaying the PCML.

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.