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
 

 

UNIT ASSIGNMENT ERROR while running SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: UNIT ASSIGNMENT ERROR while running SORT
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 13, 2011 1:47 pm    Post subject:
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    Post subject: Reply to: UNIT ASSIGNMENT ERROR while running SORT
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    Post subject: Reply to: UNIT ASSIGNMENT ERROR while running SORT
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL 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
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
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 Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


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