The simple answer - I don't think you can.
But why would you want to?
If you want a lock so that you can update the area then simply unlock it via an out operation after the update or issue an unlock if not updating.
If for some reason this is not viable perhaps explain what you are trying to do and we can perhaps suggest an alternative solution.
On Feb 21, 2023, at 12:14 PM, Gavin Inman<midrangelist@xxxxxxxxxxxxxx> wrote:
One for the group
I have a RPGLE Free form definition of the following *DTAARA.
DCL-DS userdft DTAARA(*AUTO:*USRCTL:'WEB/default');
First line in the program is:
an *EXCLRD lock is used and locking out other jobs. How can I get this to be a shared Read?
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
Before posting, please take a moment to review the archives
Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.