With JCL allocation, you still have to give IDCAMS the OUTFILE parameter, not OUTDATASET. . . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected]
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of John McKown Sent: Wednesday, December 31, 2014 3:21 AM To: [email protected] Subject: Re: IDCAMS Yes, that will work. On Dec 30, 2014 10:24 PM, "Micheal Butz" <[email protected]> wrote: > What if the JCL has disp=mod > > Sent from my iPhone > > > On Dec 30, 2014, at 10:54 PM, John McKown > > <[email protected]> > wrote: > > > > Allocate your DSN with a DISP of MOD instead of OLD or SHR. > > > > ALLOC DDN(ddn) DSN(dsn) MOD > > > > REPRO IDS(indsn) OUTFILE(ddn) > > > > There is not a way to do it except by using the ALLOC command. I.e. > > ODS(dsn) on the REPRO is "hard coded" to a DISP of OLD, which overwrites. > > > > On Tue, Dec 30, 2014 at 9:45 PM, Micheal Butz > > <[email protected]> > > wrote: > > > >> Hi > >> > >> Can IDCAMS repro > >> > >> Append records to the end of a sequential data set The repro > >> command is in a clist And it's whitin a loop > >> > >> Seems repro replaces existing records in sequential dataset > >> > >> Sent from my iPhone > >> > >> ------------------------------------------------------------------- > >> --- For IBM-MAIN subscribe / signoff / archive access instructions, > >> send email to [email protected] with the message: INFO > >> IBM-MAIN > > John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
