|
But in my setup the unconditioned part is used in the service program SRVPGM. And the BNDDIR contains the service program SRVPGM. Wouldn't that bite me in the end? Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com |-----------------------------+-------------------------------------------| | Barbara Morris | | | <bmorris@xxxxxxxxxx> | | | Sent by: | To| | rpg400-l-bounces@midrange.| rpg400-l@xxxxxxxxxxxx | | com | cc| | | | | 07/23/2004 04:37 PM | Subject| | | Re: Service Programs 101 | | Please respond to | | | RPG programming on the | | | AS400 / iSeries | | | <rpg400-l@xxxxxxxxxxxx>| | | | | | | | |-----------------------------+-------------------------------------------| Paul Tuohy wrote: > You could combine HSPEC1 and HSPEC2 as follows > > H Datfmt(*USA) > H Copyright('(C) Copyright Group Dekko Services, LLC') > H ExprOpts(*RESDECPOS) > H* EXTBININT will change (B)inary to (I)nteger. > H EXTBININT(*YES) > > /If Defined *CRTBNDRPG > /DEFINE HSpec > H Bnddir('ROUTINES/SRVPGM':'QC2LE') > H ActGrp(*CALLER) > H DftActGrp(*NO) > /UNDEFINE HSpec > /EndIf You should probably also move the BNDDIR keyword into the unconditioned part. Otherwise, if it gets compiled as a module, the CRT would fail because of the missing bnddir. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.