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
 
SPUFI Job RETPD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SPUFI Job RETPD
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 15, 2008 7:27 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Tue Jul 15, 2008 7:43 pm    Post subject: Reply to: SPUFI Job RETPD
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 15, 2008 7:49 pm    Post subject:
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    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 SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Problems in File-Aid / DB2 Spufi whil... amitc23 CLIST & REXX 6 Fri Feb 12, 2016 1:59 pm
No new posts Not able to access the DB2 via SPUFI sakthikumarT DB2 6 Sat Nov 28, 2015 1:52 am
No new posts DB2 program returned data is dif than... pradeepkit DB2 1 Tue Mar 03, 2015 5:39 am
No new posts How to skip foriegn Key constraint in... Arunkumar.chinnappa DB2 5 Fri Feb 07, 2014 2:17 pm

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