David, 

I guess you will use a mapping for your work area in your program. So you can 
always have code which compares the length needed with the length available. I 
just don't know what you do when your needs are greater than they supply!

Issue a message? Yes, but how many messages will you get? (Ans: Millions!)
Give up without a message? Not very useful at all.
Assuming this is a dynamic exit, you could issue a message and then deactivate 
the exit.

None of these is very satisfactory.

I suspect the length is always the same, but IBM reserve the right to increase 
it. 
Come on IBM. Give us the answer!

Lennie Dymoke-Bradshaw | Security Lead | RSM Partners Ltd  
Web:              www.rsmpartners.com
‘Dance like no one is watching. Encrypt like everyone is.’

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
David Crayford
Sent: 08 October 2019 14:22
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [IBM-MAIN] SMF exit IEFU086 work area size

Thank you Lennie,

You make some very good observations. I think the salient point of the work 
area is so the exit routine doesn't need to allocate any storage for obvious 
reasons (performance). I'm leery of using an exit with a work area without 
knowing it's length!

On 2019-10-08 9:13 PM, Lennie Dymoke-Bradshaw wrote:
> When I look in the System Exits manual I see a structure passed as a 
> parameter list which has an offset to the work area, and a length specified 
> for it. Assuming the length is specified in bytes it must fit in a halfword. 
> So max would be 65536 bytes.
>
> I agree it would be sensible for IBM to give an indication of how much there 
> is. Without that one could be reduced to getting ones own work area 😉.
>
> Can you dump out the parameter list to see what is passed? Can we have any 
> indication from IBM of a minimum size?
>
> Lennie Dymoke-Bradshaw | Security Lead | RSM Partners Ltd

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to