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: 7931
Location: Bellevue, IA

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 Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm


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