Seeing that it is complaining that SPACE wasn't specified, my first guess 
would be that your ACS routines are ignoring the UNIT=HCRT and assigning 
the dataset to a DASD volume, rather than a tape.

===============================================
Wayne Driscoll
Omegamon DB2 L3 Support/Development
wdrisco(AT)us.ibm.com
===============================================



Howard Rifkind <rifki...@emigrant.com> 
Sent by: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>
03/13/2009 05:03 PM
Please respond to
IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>


To
IBM-MAIN@bama.ua.edu
cc

Subject
Re: NEED SOME HELP WITH IEBCOPY






Can't seem to get this to work.
 
Can anyone see what I'm missing?  Seems that the OUT is the issue.
 
 
IEF344I E18823X STEP01 OUT - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM 
ERROR
IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET  
E18823.CAI.COMSERV.PTF.QO94053 
 
 
//STEP01   EXEC PGM=IEBCOPY,REGION=0M 
//SYSPRINT DD SYSOUT=* 
//* 
//IN       DD DSN=SYSESB.CAI.CAICCS.R11SP08.QO94053.PTFFILE,
//            DISP=(SHR,KEEP) 
//* 
//OUT        DD UNIT=HCRT, 
//           DISP=(NEW,CATLG,DELETE), 
//           DSN=E18823.CAI.COMSERV.PTF.QO94053, 
//           LABEL=EXPDT=99365, 
//           VOL=(,,,20) 
//* 
//SYSUT3   DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
//* 


>>> Raymond Noal <raymond.n...@hds.com> 3/13/2009 5:31 PM >>>
Howard,

First, if by 'flat files' you mean sequential files, then I don't think 
IEBCOPY is want you want. You should use IEBGENER to copy flat/sequential 
files.

But, for IEBCOPY, here's an example:

//S1   EXEC PGM=IEBCOPY 
//SYSPRINT DD SYSOUT=* 
//IN     DD DISP=SHR,DSN=XXX 
//OUT    DD DISP=SHR,DSN=XXX.NEW 
//SYSIN    DD * 
  C I=IN,O=OUT 
/*
//

The 'IN' DD statement defines the input data set. The 'OUT' DD statement 
defines the output data set. If you want to assign the output to a tape 
file then you will have to code UNIT=TAPE (or whatever you define you tape 
drives as using an esoteric name) and you may also need a VOL= parameter 
as well. When you copy an input PDS to an output sequential file, IEBCOPY 
'unloads' the PDS to the sequential file. Going in the opposite direction, 
IEBCOPY will 'load' the sequential file back into a  PDS.

If you do use IEBGENER, the SYSUT1 DD statement defines the input file and 
the SYSUT2 statement defines the output file. IEBGENER will copy the input 
file to the output file without any control cards (SYSIN DD) and the 
output file will have the same file attributes as the input file.

HTH

HITACHI
DATA SYSTEMS 
Raymond E. Noal 
Senior Technical Engineer 
Office: (408) 970 - 7978 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On 
Behalf Of Howard Rifkind
Sent: Friday, March 13, 2009 2:17 PM
To: IBM-MAIN@bama.ua.edu 
Subject: NEED SOME HELP WITH IEBCOPY

Need some help with IEBCOPY,

I have a number of flat files which I want to copy to tape and then back 
down to DASD on another system.

Would anyone out on the list have a sample job to do this which the are 
willing to share?

Any help would be appreciated...Friday night and I would like to go home 
before midnight.

Thanks.
_____________
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only.
Access to this E-mail by anyone else is unauthorized.
If you are not an addressee, any disclosure or copying of the
contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately, then delete this
message and empty from your trash.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html 

_____________
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only.
Access to this E-mail by anyone else is unauthorized.
If you are not an addressee, any disclosure or copying of the
contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately, then delete this
message and empty from your trash.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to