Page 1 of 2

ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:21 am
by dn2012
Hello,

I am getting error on followoing

//DUPE80S1 EXEC PGM=DUPE8080                                 
//STEPLIB  DD  DSN=TSSDN.DEMO.LOADLIB1,DISP=MOD             
//DUPEGET1 DD  DSN=TSSDN.DATA.CONCATD1,DISP=SHR             
//         DD  DSN=TSSDN.DATA.CONCATD2,DISP=SHR             
//         DD  DSN=TSSDN.DATA.CONCATD3,DISP=SHR             
//DUPEPUT1 DD  DSN=TSSDN.DATA.CONCATD4,                     
//             DISP=(NEW,CATLG,DELETE),                     
//             STORCLAS=MFI,                                 
//             SPACE=(TRK,5),                               
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS) 
//SYSOUT   DD  SYSOUT=*                                     
//*


JESJCL

  IEFC025I INSTALLATION MODIFIED JCL - //TSSDNOUT JOB (H1345011000,110,0
  JOB14704                                                             
2 //DUPE80S1 EXEC PGM=DUPE8080                                         
3 //STEPLIB  DD  DSN=TSSDN.DEMO.LOADLIB1,DISP=MOD                       
4 //DUPEGET1 DD  DSN=TSSDN.DATA.CONCATD1,DISP=SHR                       
5 //         DD  DSN=TSSDN.DATA.CONCATD2,DISP=SHR                       
6 //         DD  DSN=TSSDN.DATA.CONCATD3,DISP=SHR                       
7 //DUPEPUT1 DD  DSN=TSSDN.DATA.CONCATD4,                               
  //             DISP=(NEW,CATLG,DELETE),                               
  //             STORCLAS=MFI,                 
 5 //         DD  DSN=TSSDN.DATA.CONCATD2,DISP=SHR             
 6 //         DD  DSN=TSSDN.DATA.CONCATD3,DISP=SHR             
 7 //DUPEPUT1 DD  DSN=TSSDN.DATA.CONCATD4,                     
   //             DISP=(NEW,CATLG,DELETE),                     
   //             STORCLAS=MFI,                               
   //             SPACE=(TRK,5),                               
   //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS)
 8 //SYSOUT   DD  SYSOUT=*                                     
   //*             



JESYSMSG

IEF344I TSSDNOUT DUPE80S1 STEPLIB - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET                       
TSSDN.DEMO.LOADLIB1                                                             
IEF272I TSSDNOUT DUPE80S1 - STEP WAS NOT EXECUTED.                             
IEF285I   TSSDN.TSSDNOUT.JOB14704.D0000101.?           SYSOUT                   
IEF373I STEP/DUPE80S1/START 2012124.1137                                       
IEF032I STEP/DUPE80S1/STOP  2012124.1137                                       
        CPU:     0 HR  00 MIN  00.00 SEC    SRB:     0 HR  00 MIN  00.00 SEC   
        VIRT:     0K  SYS:     0K  EXT:        0K  SYS:        0K               
IEF375I  JOB/TSSDNOUT/START 2012124.1137                                       
IEF033I  JOB/TSSDNOUT/STOP  2012124.1137                                       
        CPU:     0 HR  00 MIN  00.00 SEC    SRB:     0 HR  00 MIN  00.00 SEC 


Any help will be appreciated

thanks

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:27 am
by BillyBoyo
EDIT: Just been looking, and see your JCL is mixed up.

It seems you have made an error in pasting to show here, but still you seem to have two DDs with the same label.

Can you post again, ensuring that everything is pasted correctly?

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:36 am
by dn2012
Here is a diagnose of a PDS where members are exited

Current Allocation
Allocated tracks . : 10
Allocated extents . : 1

Current Utilization
Used tracks . . . . : 1
Used extents . . . : 1

I think this is a issue bit how can I add more tracks?. Last time I had similar issue, I created new PDS and move all members on it.

This is the way I created this PDS

//             EXEC PGM=IEFBR14                                 
//SQADB512 DD  DSN=TSSDN.CONCATEN.ATED,DISP=(NEW,CATLG,DELETE),
//*            STORCLAS=MFI, UNIT=SYSA,                         
//             SPACE=(TRK,(10,10,10)),UNIT=SYSDA,               
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=297200,DSORG=PO) 
//*     


thanks

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:45 am
by Robert Sample
The system is telling you what the problem is, and your second post about allocating the file has nothing to do with the problem:
IEF344I TSSDNOUT DUPE80S1 STEPLIB - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET                       
TSSDN.DEMO.LOADLIB1                                                             
IEF272I TSSDNOUT DUPE80S1 - STEP WAS NOT EXECUTED.

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:48 am
by dn2012
TSSDN.DEMO.LOADLIB1 does not exits.

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:51 am
by BillyBoyo
IEF344I TSSDNOUT DUPE80S1 STEPLIB - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET


Yes, I've never seen anyone trying to allocate a STEPLIB with DISP=MOD, or even NEW.

The STEPLIB dataset has to exist at the time the step is run, as far as I'm aware. I've never thought to do otherwise. If it does not exist, how do you think it is going to find your program? I'm sure it won't be in any of the system libraries.

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:53 am
by dick scherrer
Hello,

Suggest you begin reviewing all of your jcl with some co-worker or technical support person before submitting it. . . What you do not yet understand can cause some major problems . . .

Why is there a DISP=MOD on a load library in the STEPLIB?

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:54 am
by dn2012
I have added following but did not work

//STEPLIB  DD  DSN=TSSDN.DEMO.LOADLIB1,DISP=MOD             
               STORCLAS=MFI,                               
               SPACE=(TRK,5),                               
               DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS)

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 12:55 am
by dick scherrer
Hello,

Then take it out and do as i suggested in my previous reply.

You definitely need a "guiding hand" from someone in your organization.

You still do not understand that you should not create the joblib/steplib in the job that is to use it. And if it did exist, you should never use MOD. . . :(

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 1:42 am
by Peter_Mann
dn2012 wrote:TSSDN.DEMO.LOADLIB1 does not exits.

:D - guess you've found your own error.
Q: Do you understand what disp=mod does and how it's used, as other have said, I've NEVER seen DISP=MOD on a STEPLIB.
 MOD                                                                     
                                                                         
 Indicates one of the following, and that you need non-shared control of
 the data set:                                                           
                                                                         
  a) The data set already existed, and that records are to be added to   
     the end of the data set (for sequential files only)                 
                                                                         
  b) You are creating a new data set                                     
                                                                         
  d) When the data set is opened, the device's read/write mechanism is   
     positioned after the last record for an existing data set or at the
     beginning for a new data set.  The 2nd OPEN within the same step   
     positions the read/write mechanism after the last record.           
                                                                         

HTH's