If a work area is shared among exits, I would expect one of those exits to
getmain the area and store the address.
Consider this:
LT Rx,IFAEXITP
JNZ ALLOCATED
STORAGE OBTAIN.....
ALLOCATED DC 0H
-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On
Behalf Of Guillaume Boesel
Sent: Saturday, 08 July 2023 10:51
To: [email protected]
Subject: IEFU86 WorkArea use ?
Hi,
I'm testing IEFU86 exit to be able to write on syslog the SMF record number on
the fly.
It's just for educational purpose.
When I use the workarea (retrieved from IFAEXITP) to store my WTO, SMF
record,etc it works pretty well.
I am able to WTO the SMF records number in syslog.
But when I login/logoff, it fails with S0C4-11 (I don't use getmain/freemain
storage obtain/release in my code).
When I use STORAGE OBTAIN/release to store my stuffs and don't use IEFU86
workarea, it works well. No more S0C4-11 when I login/logoff.
According to this thread :
https://bit.listserv.ibm-main.narkive.com/cIdJ48RP/smf-exit-iefu086-work-area-size#post16
the workarea seems shared (maybe why it fails for me ?) If it is the case, what
is the utility of the workarea ?
Thank you for your help
Guillaume
--
This email has been checked for viruses by Avast antivirus software.
www.avast.com