Please post the full message.  That 001 is not the reason code; that should be 
right after 'NOT PROCESSED'.  If the reason code were actually 1, for an 
un-moveable dataset, I'd say add FORCE.

You could also just delete the target.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Elaine Beal
Sent: Thursday, May 16, 2019 5:51 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: DFDSS copy to pre-allocated dsn

[External Email]

I've found a lot of " it's " confusing comments on this topic and I am 
beleaguered- I am trying to copy a file to an existing, pre-allocated new name.
Seems that should be pretty straight forward... but having to specify rename to 
make a copy is anything but straight forward

I'm getting ADR380E (001)-FDSCO(08) indicating REPLACEUNCONDITIONAL is not 
specified but I get this whether I specify it or not-


  COPY DATASET(INCLUDE(SYS7.R30.V22.ROOT.HFS))  -
      LOGINDDNAME(DASD1)  -
      OUTDDNAME(DASD2,DASD3,DASD4)  -
      RENAMEU((SYS7.R30.V22.ROOT.HFS,   -
      SYS7.R30.V22.RSU.ROOT.HFS)) -
      REPLACEUNCONDITIONAL   -
      NULLSTORCLAS BYPASSACS(**) -
      ALLDATA(*) ALLEXCP CANCELERROR -
      SHARE -
      WRITECHECK

Thanks for any help-
Elaine

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
FIRST TENNESSEE

Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to