Page 2 of 2

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 3:07 am
by dn2012
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

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 3:23 am
by BillyBoyo
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

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 3:25 am
by dick scherrer
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.

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 7:41 am
by dick scherrer
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-)

Re: ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR

PostPosted: Fri May 04, 2012 1:00 pm
by BillyBoyo
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...