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

SPUFI Job RETPD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
trilokdewangan

New User


Joined: 19 Jun 2008
Posts: 39
Location: USA

PostPosted: Tue Jul 15, 2008 7:14 pm
Reply with quote

Hello Everyone,


Can anyone suggest, how we can alter SPUFI output dataset's retention from permanent to 5 days.


I need to run SPUFI job daily with some standard dataset name, say " BXRT11.PAYX.ABCDED.D&DMS.&CYCLE." Where DMS is changing every day and CYCLE is of 0829A format (today's value)

I need a JCL to find the the dataset starts from above dataset and cycle should be current, and alter the RETPD.

If I get the Job, I can schedule the Job in test region to run everyday.

Thanks
Trilok Kumar
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 15, 2008 7:27 pm
Reply with quote

Why not use DFdss to delete those datasets over 5 days old
Back to top
View user's profile Send private message
trilokdewangan

New User


Joined: 19 Jun 2008
Posts: 39
Location: USA

PostPosted: Tue Jul 15, 2008 7:36 pm
Reply with quote

Actually All the datasets are migrated in TAPE after 2 days of creation. We do n't want to do HDELETE for that, It's costly to perform the same.

Please suggest

Thanks,
Trilok Kumar
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 15, 2008 7:43 pm
Reply with quote

so it looks like there is a management class associated to them
instead of migrating after 2 days, foget about it and put them in a management class with a 5 days retpd
and they will get deleted when hsm perform it' s space management
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 15, 2008 7:49 pm
Reply with quote

trilokdewangan wrote:
Actually All the datasets are migrated in TAPE after 2 days of creation. We do n't want to do HDELETE for that, It's costly to perform the same.

Why is it too costly to perform HDELETE commands ?

But anyway, Enrico has the best suggestion.

Talk to your storage people - We just love to delete your data icon_biggrin.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Beautifying the SPUFI output DB2 5
No new posts Using SPUFI with DISTINCT and MAX is ... DB2 8
No new posts SPUFI -- Joining 3 tables – data in... DB2 2
Search our Forums:

Back to Top