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

UNIT ASSIGNMENT ERROR while running SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Wed Jul 13, 2011 1:16 pm
Reply with quote

Hi
While running a sort utility program, I am getting below error mesage:

Code:

ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 08:30
           SORT FIELDS=(1,60,CH,A)                                   
           SUM FIELDS=NONE                                           
ICE042A 5 UNIT ASSIGNMENT ERROR
ICE751I 0 C5-K26318 C6-K90007 C7-K90000 E7-K24705                   
ICE052I 3 END OF DFSORT                                             


SORTOUT dataset is:

Code:

SORTOUT  DD  DSN=ABC,
             DISP=(NEW,CATLG,DELETE),           
             SPACE=(TRK,(10,10),RLSE),         
             UNIT=3390


Request you to help me to solve this problem.
Above mentioned utility is working fine in daily production but not running in Test Region.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 13, 2011 1:47 pm
Reply with quote

Post the JCL from the failing step, also the ICE201I message
Back to top
View user's profile Send private message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Wed Jul 13, 2011 2:36 pm
Reply with quote

Hi Expat
Please find the details:
(all the files are sequential file)

Code:

//STEP0030 EXEC PGM=SORT
//SYSOUT       DD  SYSOUT=* 
//SYSPRINT    DD  SYSOUT=* 
//SYSUDUMP   DD  SYSOUT=* 
//SYSDBOUT   DD  SYSOUT=* 
//SORTMSG    DD  SYSOUT=* 
//SORTIN   DD  DSN=Samim1,DISP=SHR     
//              DD  DSN=samim2(+0),DISP=SHR                                 
//              DD  DSN=samim3(0), DISP=SHR                                 
//              DD  DSN=samim4,DISP=SHR                                 
//SYSIN    DD  *
  SORT FIELDS=(1,60,CH,A)
  SUM FIELDS=NONE                                       
//SORTOUT  DD  DSN=ABC,       
//             DISP=(NEW,CATLG,DELETE),                 
//             SPACE=(TRK,(10,10),RLSE),                 
//             UNIT=3390,                               
//             LRECL=60,                                 
//             BLKSIZE=0,                               
//             RECFM=FB                                 


Below is the message in SORTMSG

Code:

1ICE143I 0 BLOCKSET     SORT  TECHNIQUE SELECTED                               
 ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AND MORE
 ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 08:30 ON WED JUL 13, 2011 -
0           SORT FIELDS=(1,60,CH,A)                                             
            SUM FIELDS=NONE                                                     
 ICE042A 5 UNIT ASSIGNMENT ERROR                                               
 ICE751I 0 C5-K26318 C6-K90007 C7-K90000 E7-K24705                             
 ICE052I 3 END OF DFSORT
Back to top
View user's profile Send private message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Wed Jul 13, 2011 2:51 pm
Reply with quote

Hi Expat
I got the reason. A file (in SORTIN) was allocated wrongly(Record Len = 0) which was causing the problem.

Thanks for your assistance.

Regards,
Samim
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top