not necessary if processing all entries on all volumes online, but if you want to move some entries from a specific volume you can use the FILE(DDx) statement
//MOVEPAGE EXEC PGM=IDCAMS //UCATDVR DD DSN=CATALOG.xxx.OSxxx.MCAT,DISP=SHR //UCATNEW DD DSN=CATALOG.xxx.OSxxx.MCAT,DISP=SHR //DD1 DD VOL=SER=DRxxx,UNIT=3390,DISP=OLD //SYSPRINT DD SYSOUT=* //SYSIN DD * REPRO ENTRIES(hlq.mlq.*) - INFILE(UCATDVR) OUTFILE(UCATNEW) MERGECAT FILE(DD1) carmen ----- Original Message ----- From: "Steely.Mark" <[email protected]> To: [email protected] Sent: Tuesday, September 26, 2017 12:35:01 PM Subject: Re: MERGECAT QUESTION I just executed Mergecat process over the weekend and processed several VSAM entries and I did not have to supply any FILE DD statements. Thanks -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of esmie moo Sent: Tuesday, September 26, 2017 12:25 PM To: [email protected] Subject: Re: MERGECAT QUESTION Kevin, Now I am worried. I am the origin of the post. I checked and so far I haven't processed any VSAM dsns. If I understand your recommendation, I would need to add the DD statement FILE if VSAM files are to be processed? On Tuesday, September 26, 2017, 12:54:30 PM EDT, Neubert, Kevin <[email protected]> wrote: DFSMS Access Method Services Commands (SC23-6846), REPRO, REPRO Parameters. FILE(ddname) specifies the name of a DD statement that identifies all the volumes that contain the VVDSs to be updated. If you do not specify FILE, VSAM will try to dynamically allocate the required volumes. Regards, Kevin -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of retired mainframer Sent: Tuesday, September 26, 2017 9:37 AM To: [email protected] Subject: Re: MERGECAT QUESTION Since you are not accessing the datasets, why would you care what volume they are on. MERGECAT moves catalog entries from one catalog to another. If any of the entries being moved require the VVDS be updated, the information to access that VVDS is already available and there is no need for the user to provide it. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of John Dawes > Sent: Tuesday, September 26, 2017 9:08 AM > To: [email protected] > Subject: Re: MERGECAT QUESTION > > Jesse, > > I noticed that in your example you do not have the DD1 statements > which indicate on which disks the dsns exist. > > Is it no longer required? I remember that in the past I had to code > in the jcl several DD1 statements when I was doing a REPRO MERGECAT. > > Could you or somebody confirm? I ran test using your example and it > worked. Just want to be sure. > > Sorry to sound like a doubting Thomas. Catalog maintenance makes me nervous. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
