At 16:19 -0400 on 07/24/2008, Farley, Peter x23353 wrote about Re: HSM Recalls:

There is, and it does.  It starts a TCB for each file in the whole job
that needs recalling following the place where RECALL is invoked. In
each TCB it issues HRECALL for one file and WAIT's for the recall to
finish.

Beware though -- If your shop's "maximum WAIT time" is too low or HSM is
very busy, you can get an S522 abend when one or more of the HRECALL's
takes too long to finish.

Which is a design flaw in my opinion. What should be done is to issue a TTIMER (I think this is the correct Macro) for 5 Minutes with an ECB Parm that gets POST'ed when the time interval is over. You then do a WAIT 1,LIST=(...) [or an EVENTS] on both that ECB and the one for the HRECALL. If the TTIMER pops then reissue it and wait again. This will cause the tasks to never wait for more than 5 minutes thus avoiding the S522.


HTH

Peter

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to