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.