Re: [EXTERNAL] Flashcopy dataset example
Bill, ADRDSSU DATASET DUMP with the CONCURRENT(VIRTUALREQ) option will flash copy the dataset to a work dataset and then dump (backup) the work dataset. I have not tried this myself. You have to pre-define work datasets with a particular naming convention. See “virtual concurrent copy working space” in the Dfsmsdss Stirage Admin Guide. Keith Sent from my iPad > On 18 Feb 2023, at 19:12, Pommier, Rex wrote: > > Bill, > > Dump and restore is a different animal. Dump creates a backup copy in DFDSS > format so it will NOT use flashcopy because it has to reformat the data into > the DFDSS format. Restore takes the dump file and rebuilds the original > dataset. COPY is what will use flashcopy if you're set up for it and have > the required software licenses. > > Rex > > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Bill Giannelli > Sent: Saturday, February 18, 2023 5:17 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [EXTERNAL] Flashcopy dataset example > > hi rex, > yes we have those utilities. > But as far as your other questions, I have no idea. I am not a storage > systems guy. > I think what I was after is the "dump" and "restore" commands. > thanks > Bill > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > The information contained in this message is confidential, protected from > disclosure and may be legally privileged. If the reader of this message is > not the intended recipient or an employee or agent responsible for delivering > this message to the intended recipient, you are hereby notified that any > disclosure, distribution, copying, or any action taken or action omitted in > reliance on it, is strictly prohibited and may be unlawful. If you have > received this communication in error, please notify us immediately by > replying to this message and destroy the material in its entirety, whether in > electronic or hard copy format. Thank you. > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Flashcopy dataset example
Bill, Dump and restore is a different animal. Dump creates a backup copy in DFDSS format so it will NOT use flashcopy because it has to reformat the data into the DFDSS format. Restore takes the dump file and rebuilds the original dataset. COPY is what will use flashcopy if you're set up for it and have the required software licenses. Rex -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bill Giannelli Sent: Saturday, February 18, 2023 5:17 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Flashcopy dataset example hi rex, yes we have those utilities. But as far as your other questions, I have no idea. I am not a storage systems guy. I think what I was after is the "dump" and "restore" commands. thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Flashcopy dataset example
hi rex, yes we have those utilities. But as far as your other questions, I have no idea. I am not a storage systems guy. I think what I was after is the "dump" and "restore" commands. thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Flashcopy dataset example
Bill, A couple questions back. Do you have DFDSS/DFSMS-dss/ADRDSSU? Are you licensed on your DS8K for flashcopy? Is the target disk volume involved in a PPRC replication scheme (global mirror or the like) with a secondary array? If you answer yes to the first 2 questions and no to the third, this is an example that works for us. //STEP005 EXEC PGM=ADRDSSU,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * COPY DATASET( - INCLUDE( - PVS.CL.AGENT - <<<< source dataset - is on a replicated volume but source doesn't matter to FC )) - CANCELERROR - CATALOG - RENAMEUNCONDITIONAL( - (PVS.CL.AGENT, - PVS.C6.AGENT.REX)) - <<<<< my target is on a disk not being replicated to our secondary site SPHERE - TOL(ENQF)- TGTALLOC(SOURCE) - FR(REQ) - <<<<<<< I'm telling DFDSS it has to use flashcopy WAIT(2,2) And here's the output of the job. ADR101I (R/I)-RI01 (01), 2023.048 12:27:32 TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'COPY ' ADR109I (R/I)-RI01 (01), 2023.048 12:27:32 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED ADR016I (001)-PRIME(01), 2023.048 12:27:32 RACF LOGGING OPTION IN EFFECT FOR THIS TASK ADR006I (001)-STEND(01), 2023.048 12:27:32 EXECUTION BEGINS ADR411W (001)-DDFLT(02), 2023.048 12:27:36 DATA SET PVS.CL.AGENT IN CATALOG CATALOG.PROD.USERCAT ON VOLUME S20254 WAS NOT SERIALIZED ON REQUEST ADR711I (001)-NEWDS(01), 2023.048 12:27:36 DATA SET PVS.CL.AGENT HAS BEEN ALLOCATED WITH NEWNAME PVS.C6.AGENT.REX USING STORCLAS NORMAL, DATACLAS DCVSAMP, AND MGMTCLAS NOTMANAG ADR730W (001)-CVSAM(01), 2023.048 12:27:36 CLUSTER PVS.CL.AGENT IS OPEN ADR806I (001)-T0MI (03), 2023.048 12:27:36 DATA SET PVS.CL.AGENT COPIED USING A FAST REPLICATION FUNCTION<<<<<<<<<<<<<<<<<<<<<< flashcopy used ADR801I (001)-DDDS (01), 2023.048 12:27:36 DATA SET FILTERING IS COMPLETE. 1 OF 1 DATA SETS WERE SELECTED: 0 FAILED SERIALIZATION AND 0 FAILED FOR OTHER REASONS ADR454I (001)-DDDS (01), 2023.048 12:27:36 THE FOLLOWING DATA SETS WERE SUCCESSFULLY PROCESSED PVS.CL.AGENT ADR006I (001)-STEND(02), 2023.048 12:27:36 EXECUTION ENDS ADR013I (001)-CLTSK(01), 2023.048 12:27:36 TASK COMPLETED WITH RETURN CODE 0004 ADR012I (SCH)-DSSU (01), 2023.048 12:27:36 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0004 FROM: TASK001 The reason I asked about the disk replication is that out of the box, flashcopy is prohibited to send the target dataset to a replicated volume. I believe there some hoops that can be jumped through to make this happen (at least I seem to remember reading about this at some point) but normally that's prohibited. If everything is set up properly, you don't need the FR(REQ) or FR(anything) and DFDSS will use FC when it can and if it can't it'll do the copy in the traditional way. HTH Rex -Original Message----- From: IBM Mainframe Discussion List On Behalf Of Bill Giannelli Sent: Friday, February 17, 2023 10:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Flashcopy dataset example Can anyone provide an example on how to use flashcopy to copy, or backup, an individual dataset? thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu wi
Re: [External] : Flashcopy dataset example
ok, that's scary! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [External] : Flashcopy dataset example
Just for fun I asked ChatGPT your question and here is its answer - ymmv: -- Storage systems. The specific syntax for the FlashCopy command to copy a dataset on IBM storage will depend on the storage system and software that you are using. Here is an example of the FlashCopy command syntax for an IBM DS8000 storage system: Copy code FlashCopy SOURCE dataset_name TARGET copy_dataset_name In this command, replace "dataset_name" with the name of the source dataset that you want to copy, and replace "copy_dataset_name" with the name you want to give to the copy of the dataset. -- Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bill Giannelli Sent: Friday, February 17, 2023 10:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [External] : Flashcopy dataset example thank you for your response. But I was looking for copying by dataset name to a created backup dataset. Also, to be able to specify a list of datasets to one backup dataset. We used to do this with EMCSNAP. But we have moved from EMC dasd to IBM. thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [External] : Flashcopy dataset example
thank you for your response. But I was looking for copying by dataset name to a created backup dataset. Also, to be able to specify a list of datasets to one backup dataset. We used to do this with EMCSNAP. But we have moved from EMC dasd to IBM. thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [External] : Flashcopy dataset example
We use something like this when the virtual address will changed. We also put these commands into execs flashcopy a246 0 end to b246 0 end flashcopy a246 0 end to b246 0 end label SGB246 Jon Nolting System Administrator Engineering IT jon.nolt...@oracle.com 425-295-1733 (Cell) -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bill Giannelli Sent: Friday, February 17, 2023 8:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [External] : Flashcopy dataset example Can anyone provide an example on how to use flashcopy to copy, or backup, an individual dataset? thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN