View previous topic :: View next topic
|
Author |
Message |
HameedAli
Active User
Joined: 16 Apr 2009 Posts: 151 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Pretty self explanatory really
you can not have a PDS or PDSE over multiple volumes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
HameedAli
Active User
Joined: 16 Apr 2009 Posts: 151 Location: India
|
|
|
|
It went fine, after creating the PDS. Thanks a lot |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thanks for letting us know
d |
|
Back to top |
|
|
|