Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8004
Location: Bellevue, IA

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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us