Activation Group Number in Call Stack

880 pts.
Tags:
Activation Groups
AS/400
AS/400 jobs
COBOL
ILE COBOL
iSeries
When the activation group number as displayed in the call stack (WRKJOB, option 11) changes during execution, but the activation group name does not change; does that mean a new activation group is being initialized.  The job is a prestart job executing a stored procedure, externally defined as cobol program. The initial cobol program is compiled with QILE named activation group using CRTSQLCBLI to generate *PGM.

 

Thanks



Software/Hardware used:
IBM i, 520, V6R1, COBOL

Answer Wiki

Thanks. We'll let you know when a new response is added.

<i>When the activation group number as displayed in the call stack (WRKJOB, option 11) changes during execution, but the activation group name does not change; does that mean a new activation group is being initialized.</i>

Yes. Or perhaps more accurately, an new activation group has been created. That assumes that it is in fact the same job, and not just a new invocation of a prestart job.

Quite possibly there was some other step that issued RCLACTGRP ACTGRP(QILE).

If I wanted an activation group to stick around, I would definitely name it something other than QILE. QILE is the standard default from IBM. There’s no predicting what might happen to it.

Tom

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • NullFields
    Thanks for the information. We scanned our source and did not find any use of the RCLACTGRP command in any code related to the process in question. We've made a change to have the program called by the SQL stored proc compiled as *CALLER. Now the activation group name & number for the initial program and all subsequent programs are part of the *DEFAULT activation group. We are still testing that this will work they way we expect and want, but are still testing it to be sure. Thanks again.
    880 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following