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

Allocation failed due to DATA FACILITY SYSTEM ERROR


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Thu Aug 06, 2009 5:46 pm
Reply with quote

Hi
For the below step, I face an error while running, how do I fix it?

Code:
//RUNQUERY EXEC PGM=IKJEFT01                                 
//STEPLIB  DD   DSN=MAIN.LIB,DISP=SHR             
//SYSTSPRT DD   SYSOUT=*                                     
//SYSPRINT DD   DSN=QWERTY.TOOLS.RUNQUERY.MSG(MEM),         
//    UNIT=(SYSDA,5),SPACE=(CYL,(1,100,100),RLSE),           
//    DCB=(RECFM=FB,LRECL=133,BLKSIZE=1330),                 
//    DISP=(NEW,CATLG,CATLG)                                 
//SYSTSIN  DD   *                                             
DSN SYSTEM (QWER)                                             
  RUN PROG (JOB2) PLAN(JOB2A)                           
END                                                           
//SYSIN    DD   DSN=QWERTY.TOOLS.RUNQUERY.QUERY(MEM),DISP=SHR
/*   


Code:
IEF344I RUNQUERY RUNQUERY SYSPRINT - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17293I DATA SET QWERTY.TOOLS.RUNQUERY.MSG HAS                             
PARTITIONED ORGANIZATION AND IS NOT ELIGIBLE                                   
TO BE A MULTI-VOLUME DATA SET, ALLOCATION FAILED     
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Aug 06, 2009 6:14 pm
Reply with quote

Pretty self explanatory really

you can not have a PDS or PDSE over multiple volumes.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 06, 2009 9:27 pm
Reply with quote

Hello,

Also, typically writing output to a member in a pds is done in an existing dataset.

Suggest you change the disp to use an existing dataset. If this dataset has not been created - create it before running.
Back to top
View user's profile Send private message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Fri Aug 07, 2009 12:25 pm
Reply with quote

It went fine, after creating the PDS. Thanks a lot
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 07, 2009 7:32 pm
Reply with quote

Good to hear it is working - thanks for letting us know icon_smile.gif

d
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top