ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR



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

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

Postby dn2012 » Fri May 04, 2012 3:07 am

Thanks.

I change my approach.
I want to Copy three concatenated data sets into one data set.

is there any utility for it?

thank you
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 3:23 am

There are many ways to do this: "I want to copy three datasets into one dataset". We are continually picky about terminology, because to get the correct answer, someone/thing, has to understand in its entirety, even if it is only the Computer.

A good way is with DFSORT/ICETOOL. Another good way is with IEBGENER, which, depending on your installation, may invoke DFSORT for certain operations anyway. Something like this.

//CONCAT EXEC PGM=SORT
//SORTIN DD DSN=A,DISP=OLD
//       DD DSN=B,DISP=OLD
//       DD DSN=C,DISP=OLD
//SORTOUT DD DSN=ABC,DISP=(NEW...
//SYSOUT DD SYSOUT=*
//SYSIN DD *
  OPTION COPY
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 3:25 am

Hello,

Yes. This can be done with your sort product as well as IEBGENER and other utilities.

As i've already mentioned, you need someone local that you can talk with. These are extremely basic questions. . .

To do what you want, create jcl/sort control that has the following:
a job statemnent that conforms to the system standards
executes the sort
concatenates the input datasets
defines the output dataset
specifies OPTION COPY
specifies SYSOUT (and anything else your enviroment might require.

Run the job.
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 dick scherrer » Fri May 04, 2012 7:41 am

Hi Billy,

I posted my latest reply on the way out of one building and i've just arrived here. Looks like you were posting while i was typing - saying pretty much the same thing 8-)
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 BillyBoyo » Fri May 04, 2012 1:00 pm

Yes, if only we could identify before all the typing has been done.

It was a bad day for it yesterday. Three times I posted and closed the browser without noticing the "there's been another post you might want to look at" sort of message. Perhaps if I type quicker...
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post