|
Brian,
I kinda stepped over some kjey figures:
We compile using CRTPGM and ACTGRP(*CALLER)
We use *CALLER to preserve the same activation group during the whole
job.
I thought it was like using DFTACTGRP but with your reply, I figure it
is not.
Sorry,
Pascal Bellerose
pascal_bellerose@xxxxxxxxxxxx
Cascades Canada inc.
Analyst-Programmer-Helpdesk
Telephone: 819-363-6114 (2114)
Fax: 819-363-6155 (6155)
Do you really need to print this e-mail? Change your environmentality!
écrit :Le 10 Octobre, 2007 à 15:30, Brian Parkins <PARKIB@xxxxxxxxxx> a
Pascale, can you clarify please? (I am a little confused about your
situation.)
Here's our situation:
PGM1 is a ILE RPG Program in LIB1. Was compiled with ACTGRP(*DFT).
SRV1 is a service program in LIB1
PRC1 is a procedure of SRV1.
PGM1 is using PRC1 in an Eval operation.
There is no ACTGRP(*DFT) on the CRTPGM command - how did you create
PGM1?
Do you mean DFTACTGRP(*YES)?
DFTACTGRP(*YES) can only be specified on the CRTBNDxxx commands. If
DFTACTGRP(*YES) was specified, then you would not be able to perform a
Procedure Call to PRC1. (Procedure Calls are not possible within
programs
explicitly bound to the Default Activation Group (DAG).)
RCLRSC only affects resources in the DAG. To "clean up" resources in a
Named Activation Group you can use the RCLACTGRP command.
Brian Parkins.
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with
number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
--
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.
--
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 [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.