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: 8154
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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 1 Fri Sep 22, 2017 4:56 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am

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