× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



File opens are always scoped to the activation group.

RCLRSC only works on the default activation group.

Try: RCLACTGRP ACTGRP(MyActGrp)

Read the help text for RCLSTG and RCLACTGRP.

> David FOXWELL wrote:
Hi all,

Can you help me understand this scenario?

MyCLP :
CALL MyRPGLE
CALL CLP2 creates adds file member = job number and logs a message from RPGLE. Returns with the file open.
RCLRSC
CALL CLP3
Lists messages from the log file then deletes the member created by CLP2.

Here everything runs in the DFTACTGRP without problems.

Now if MyRPGLE is recreated to run outside the DFTACTGRP, CLP3 will crash with CPF7310 because the member added by CLP2 is locked.
The ACTGRP initialized when MyRPGLE is called has disappeared at this stage. Why is the member still locked?

CLP2 is a CLLE compiled with ACTGRP(*CALLER)
CLP3 is an OPM.


Thanks

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