Q
Problem solve Get help with specific problems with your technologies, process and projects.

Crossing activation groups

When activation group *CALLER is specified, the program runs in the activation group from which it was called. This can be a problem if the EPM program is called by an OPM program and runs in a default activation group. I got this information from the IBM manual. Can you please tell me what are the possible problem areas?

There are multiple problems that can occur by crossing activation groups. In simple terms, file open/close/shares and record locking operations can cause problems. You may also see problems in making calls to external procedures and/or service programs. There are a number of other problems that can occur depending on how the ILE is created and bound to the ILE module(s). The simplest solution is to convert the OPM to an ILE, or create the ILE with DFTACTGRP(*NO) / ACTGRP(ILE).

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close