Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8057
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us