Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SORT Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SORT Query
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: 8195
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 05, 2010 7:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Native SQL Query kishpra DB2 1 Wed Nov 22, 2017 8:38 pm
No new posts Query on IEFBR14 with GDG Ashishpanpaliya JCL & VSAM 4 Tue Nov 07, 2017 8:34 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us