|
Barbara: I knew that without the EXTPGM keyword, you can only use a prototype as an entry parameter list. But if you use it so, is EXTPGM optional? Also, we have the Linoma RPG Toolbox, and I converted a program with entry parameters. It generated the PR and PI for the program, but it would not compile using CRTBNDRPG until I added DFTACTGRP(*NO) and ACTGRP(*CALLER) (or a named group) to the header specs. I know I could create the module, then create the program using CRTRPGMOD and CRTPGM, but it's a lot cleaner to have all your ducks in a row by specifying all that in the H-spec, especially if there's only one module in the program. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris Sent: Monday, October 4, 2004 4:06 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: Replacement for *entry plist If the prototype has the EXTPGM keyword, you can compile with DFTACTGRP(*YES). If the prototype is meant to call a program, it _should_ have the EXTPGM keyword. Otherwise, it couldn't be used to call the program; it could only be used to defined the entry parms.
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.