IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SORT Query


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Tue Jan 05, 2010 7:00 pm
Reply with quote

I'm working on a sort job where I'm reading a GDG and after doing some sort operation copying it to a new file. The input file contains approx .45 millions records. My JCL looks something like below:
Code:

//SORT     EXEC PGM=SORT
//SYSOUT   DD  SYSOUT=X
//SORTWK01 DD  UNIT=SYSDA,
//             SPACE=(CYL,(020),,,ROUND)
//SYSIN    DD  *
  SORT FIELDS=...
  OUTREC BUILD=(1,26,30:C'OLD')
/*
//SORTIN   DD  DSN=AXXX.BXXX.CXXX.DXXX.GDGDS(+0),
//             DISP=(OLD,KEEP,KEEP)
//SORTOUT  DD  DSN=TEMP1.AXX.BXXX,
//             DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,SPACE=(CYL,(050,050),RLSE)


But after submitting the job I'm getting a JCL Error message as below. Even though I've tried different combination of sortwk, but none is working.

08.12.09 JOB07509 $HASP373 TMAXXXXT STARTED - INIT 19 - CLASS T - SYS SYSB
08.12.09 JOB07509 IEF403I TMAXXXXT - STARTED - TIME=08.12.09
08.12.09 JOB07509 IEF244I TMAXXXXT SORT - UNABLE TO ALLOCATE 1 UNIT(S) 365
365 AT LEAST 1 OFFLINE UNIT(S) NEEDED.
08.12.09 JOB07509 IEF877E TMAXXXXT NEEDS 1 UNIT(S) 366
366 FOR SORT SORTOUT
366 FOR VOLUME PRIVAT- 1
366 OFFLINE
366 2896-289F 28A6-28AF 28B6-28BF 28C6-28CF 28D6-28DF 28E6-28EF 2
366 4075-4091 4175-4191 4275-4291 4375-4391

Can anyone please help.

Regards
Arun
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 05, 2010 7:05 pm
Reply with quote

Contact your site support group. The system is telling you that you did not give a volume serial for your SORTOUT file and the system cannot access any volumes that will allow it to satisfy your request. This is a site specific problem and must be address with your site support group.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts RC query -Time column CA Products 3
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top