dfsort SORTOUT not allocation error

General discussion on the JZOS batch launcher and toolkit
Post Reply
Sudhzos
Posts: 2
Joined: Thu Oct 06, 2011 12:21 pm

dfsort SORTOUT not allocation error

Post by Sudhzos »

Hi I am facing a stange issue while running dfsort from java.

Whenever I run the dfsort on different address space with JZOS launcher JCL and if try to refer my sortout dataset in the subsequent step with OLD dispostion java dfsort is coming back and saying unable to allocate the sort out and it is allocated for some other job.

IKJ56225I DATA SET SSR.JSORT.OUTPUT.FILEDA ALREADY IN USE, TRY LATER+
IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
JVMJZTK2999E Alloc failed, rc=0x02100000 cmd=alloc fi(sortout) da('SSR.JSORT.OUT
1 SYNCSORT FOR Z/OS 1.3.2.1RI U.S. PATENTS: 4210961, 5117495 (C) 2007 SYNCS
PARMLIST :
SORT FIELDS=COPY,STOPAFT=100
WER276B SYSDIAG= 9017034, 14321952, 14321952, 6055425
WER164B 8,892K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 44K BYTES RESERVE REQUESTED, 1,020K BYTES USED
WER146B 4K BYTES OF EMERGENCY SPACE ALLOCATED
WER224A SORTOUT NOT DEFINED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
JVMJZTK2999W Unallocation failed, rc=0x04380000 cmd=FREE FI(SORTOUT)

Any idea why it is happening. If I give the disposition share then the jobs going thru fine. Is there anyway to avoid this issue. DISP=old required for use in the subsequent step

Same happens for the input files comes from perious step and used in SORTIN with disposition old
Post Reply