Page 1 of 1

If DFSORT temporary data sets is with an ENQ ?

PostPosted: Mon Jan 04, 2010 11:11 pm
by John
Dear all

we got an abend S314-04 when using the DFSORT function recently, the abend msg as below :
IEC211I 314-04,IFG0200V,HOC#P02D,STEP1,SORTWK02,5420,PWK003,SYS10003.T064835.RA000.HOC#P02D.R0162680

after investigation, the problem should be caused by the SORTWK datasets have been scratched by HSM(Running Automatic Primary Space Management) during the job executing, so the VTOC info were removed, then lead to an I/O error when reading the associated DSCB

log from HSM
...
ARC0734I ACTION=SCRATCH FRVOL=PWK003 TOVOL= *** TRACKS= 3000 RC= 0, REASON= 0, AGE= 0,
DSN=SYS10003.T064835.RA000.HOC#P02D.R0162680
...

Those DFSORT temporary data sets should still be allocated by the running jobs at the time of delete, Hence I expect the delete action requested by HSM should be rejected by z/OS. is this related to my GRS configration ? (my system is in a STAR mode SYSPLEX environment) , if so, how can I setup the right cross-system serialization, thanks a lot!

Re: If DFSORT temporary data sets is with an ENQ ?

PostPosted: Tue Jan 05, 2010 12:20 am
by Frank Yaeger
the SORTWK datasets have been scratched by HSM(Running Automatic Primary Space Management)


Hence I expect the delete action requested by HSM should be rejected by z/OS.


This sounds like an HSM question, not a DFSORT question. I don't know anything about HSM. Maybe somebody else can help. If you want me to move this thread to a more appropriate Forum, let me know which Forum that would be.

Re: If DFSORT temporary data sets is with an ENQ ?

PostPosted: Tue Jan 05, 2010 8:09 pm
by John
Thanks Frank , now I think I know what's the problem, it should cause by our GRS setting, as after 2010, all TEMP datasets would be named as SYS10ddd, which is match with one of our GRSRNL rule (EXCL GEN SYSDSN SYS1), thus ENQ for those TEMP datasets will convert to LOCAL resourse, as a result, the TEMP dataset could be deleted by another SYSTEM in the SYSPLEX. it did not be a DFSORT problem , sorry for the inconvenient !

Re: If DFSORT temporary data sets is with an ENQ ?

PostPosted: Tue Jan 05, 2010 10:46 pm
by Frank Yaeger
Glad to hear you figured it out.