ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dn2012 » Fri May 04, 2012 12:21 am

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
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby BillyBoyo » Fri May 04, 2012 12:27 am

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?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dn2012 » Fri May 04, 2012 12:36 am

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
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby Robert Sample » Fri May 04, 2012 12:45 am

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dn2012 » Fri May 04, 2012 12:48 am

TSSDN.DEMO.LOADLIB1 does not exits.
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby BillyBoyo » Fri May 04, 2012 12:51 am

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dick scherrer » Fri May 04, 2012 12:53 am

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?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dn2012 » Fri May 04, 2012 12:54 am

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)
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dick scherrer » Fri May 04, 2012 12:55 am

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. . . :(
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby Peter_Mann » Fri May 04, 2012 1:42 am

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
Peter
Peter_Mann
 
Posts: 145
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 15 times
Been thanked: 3 times

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post