You could try using ADDRESS ATTACHMVS instead of LINKMVS.  End-of-task cleanup 
from the ATTACH may or may not solve your problem.  Higher overhead for each 
invocation of course, but it may solve the immediate issue.

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Roland Kinsman
Sent: Friday, September 11, 2015 2:16 PM
To: [email protected]
Subject: REXX Exec Abend S106

I have a REXX Exec that calls two programs in a loop, first one then the other. 
 I execute the REXX in batch.  Both of these programs are normally run in 
single batch steps.  My REXX exec calls them using each member of a PDS as 
input.  It works great for about 250 members, then it starts to abend.  The 
first abend is an S106.  After that it starts to suffer S0C4s, then ultimately 
breaks down with SA03.  

So it appears that one or both of these programs is not freeing its storage 
before ending, and I have a suspicion as to which one it is.

Here’s my question – is there any way inside the REXX that I can reset the 
environment before calling these programs so that each time they execute they 
can have a fresh start?
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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

Reply via email to