×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Real ILE programs activation groups can also be deleted by using the command "Reclaim Activation Group" RCLACTGRP *ELIGIBLE, yeah, bad practice, but still possible.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Joep Beckeringh
Sent: Thursday, March 03, 2011 12:05 PM
To: RPG programming on the IBM i / System i
Subject: Re: RPG ILE Problems (Activation Groups)

Luis,

In general:
- Real ILE programs are intended to run in 'real' activation groups, not
in the default activation group. OPM compatible programs -
DFTACTGRP(*YES) - are intended to run in the OPM environment; they
behave differently.

Specifically:
- Real ILE programs stay active until the activation group ends. If a
real ILE program runs in the default activation group, the only way to
end it is to end the job.
- OPM compatible programs react to RCLRSC as OPM programs do: they close
their files and on next activation behave as if they were called for the
first time. When an ILE program runs in the default activation group and
a RCLRSC is issued, the files are closed, but on the next call the
program will not reopen them.

Joep Beckeringh


Op 03-03-11 19:02, LuisMaldonado schreef:
Hi,

could someone explain me why Using *caller with dftactgrp causes big problems.

thank you




Lluis Maldonado

Dpto. Informática - CIFSA

Area logística

Tel: +34 93 814 09 09 - Extensión: 249

E-mail: lmaldonado@xxxxxxxx



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