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
 
UCC11 deletes file with disp = (mod,catlg,catlg) ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: UCC11 deletes file with disp = (mod,catlg,catlg) ?
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 08, 2008 7:28 pm    Post subject:
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

Site Director


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

PostPosted: Mon Sep 08, 2008 11:26 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 09, 2008 8:32 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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