Paul

My approach would be along the lines of :

(o) Zero the field that is to contain the output workarea address (to ensure no 
pollution)
(o) Prime the subpool input value
(o) Call IEFSSI
(o) Do your logic
(o) Test field that contains output workarea address - if non-zero release with 
subpool specified earlier.

Personally I would not check the RC+RSN from IEFSSI to dictate the storage 
release, and would rely on the service only populating the output workarea 
address when there is caller action required.

Rob Scott
Rocket Software

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
[email protected]
Sent: Thursday, October 12, 2023 3:22 PM
To: [email protected]
Subject: Question About IEFSSI REQUEST=QUERY

EXTERNAL EMAIL





Hello,.Looking at the IEFSSI REQUEST=QUERY - It is recommended to Free the 
WorkArea when he request completes -.
Is it safe (as in a good practice) to always release the workarea when the 
WORKAREA address returned is non-zero. ?
.
Meaning once the program has evaluated the return code, the program can RELEASE 
the WORKAREA storage if WORKAREA Address is non-zero.
.
The examples seem to always release the WORKAREA regardless of the address 
returned in workarea and regardless of the return code...What AM I miss 
understanding .Paul D'Angelo .

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to