IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

UCC11 deletes file with disp = (mod,catlg,catlg) ?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
obulisankar

New User


Joined: 03 May 2007
Posts: 20
Location: bangalore

PostPosted: Mon Sep 08, 2008 6:54 pm
Reply with quote

Hi All,
I have a JCL which creates an output file in one step and in the next subsequent steps i need to retain the existing records also the new records should be appended to the existing file.

I created that file with DISP = (MOD,CATLG,CATLG)
This was appending the new records to the existing records in the file.

But next time when i rerun the job with UCC11 as first step this file was not getting deleted and it kept on appending to the same file for every run.


Can anybody suggest on the same.

Thanks in advance,
Sankar
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 08, 2008 7:28 pm
Reply with quote

The CA-11 user manual says
Quote:
All simple (non-GDG) data sets whose first DD reference is with DISP=NEW are uncataloged and also are scratched if on disk. This action prevents NOT CATLGD 2 situations. This catalog and data set maintenance is not performed on data sets which are exempted from it by the CA-11 user exits, U11RDSEX or U11UCSEX, or the CA-11 Volume Include/Exclude List.
It sounds like DISP=MOD is not treated the same way.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 08, 2008 11:26 pm
Reply with quote

Hello,

Is there some reason the first step is not (,catlg,delete) and the subsequent steps (mod,keep)?

Using (mod,catlg,catlg) does not seem to be what you would want to use icon_confused.gif

Possibly there is something i misunderstand.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 09, 2008 8:32 am
Reply with quote

Hi,

If that were my task - I might have followed Dick.

However, there is one more suggestion (not tested)BTW, use
Code:
TYPRUN=F
on UCC11 step, someting like -
Code:
//step001 EXEC UCC11RMS,TYPRUN=F
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top