Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Repro outfile to be opened in MOD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Fri Jul 14, 2006 10:21 am    Post subject: Repro outfile to be opened in MOD
Reply with quote

Hi

i need to take a backup of a sequential file using repro.But the problem is that the dsn name is getting created statically(during run time) and i can only code sysisn as follows

REPRO IDS(XT67.GRGALSC.BACKUP.G0005V00) -
ODS(XT67.GRGALSC.BACKUP.G0005V00.BKP)


My requirement is to append the existing backup file and i need to open that in disp=mod only.but if i run this job all the existing records will be flushed.Any idea how to open the ods file in disp=mod status ??? icon_rolleyes.gif
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jul 16, 2006 9:14 am    Post subject:
Reply with quote

Hi,

Try using IN/OUTFILE (DDNAME) instead of I/ODS. Include the file defs for each DDNAME in the IDCAMS JCL. Code the OUTFILE disp as (MOD,CATLG,DELETE) or some such. Or maybe (MOD,KEEP,DELETE) for the 2nd file.

The one drawback is that the IP files must exist or you'll get a JCJ err (not a bad RC) and the rest of your job will flush.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS Allocate & Repro pahiker JCL & VSAM 9 Thu Aug 24, 2017 7:28 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts VB to KSDS repro kranthikumarb JCL & VSAM 1 Fri Aug 14, 2015 4:45 pm
No new posts Issue in FROMKEY(REPRO) VSAM having 1... thesumitk JCL & VSAM 5 Tue Jul 07, 2015 5:33 pm
No new posts Write OUTFILE by incrementing COUNT techslam DFSORT/ICETOOL 5 Thu Sep 11, 2014 3:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us