how optimizing my ADRDSSU



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

how optimizing my ADRDSSU

Postby samb01 » Tue Feb 14, 2012 7:34 pm

Hi,

i have to DUMP DELETE datasets by using this sysin ADRDSSU


 INCLUDE(   -                     
   LOURPA.LPASDED.SVE.**           
    ) -                           
 BY(CREDT,LE,*,-2601)             



This batch is running once a month.

But this batch is during a very long time beacause of the lot's of entries in the catalogue af datasets :
LOURPA.LPASDED.SVE.** 


more than 1 000 000 !

And each time, the batch have check all the datasets in the catalog to select them...

And there's only 1000 or 2000 datasets to dump delete each time.


My question is :

Do you know an other method to do it faster, or to prevent ADRDSSU to check each time the millions datasets.. ?

Thanks for your help.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: how optimizing my ADRDSSU

Postby prino » Tue Feb 14, 2012 7:37 pm

If you've got a million datasets with the same three-qualifier prefix, me thinks there's something seriously wrong with your storage management.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: how optimizing my ADRDSSU

Postby samb01 » Tue Feb 14, 2012 8:17 pm

Hello,

i know but i can't do anything.... It's like that...
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: how optimizing my ADRDSSU

Postby enrico-sorichetti » Tue Feb 14, 2012 8:26 pm

please use a bit of logic...
how can <anybody/anything> filter on the creation date of a dataset without looking and checking at all of them ?
something to meditate about filtering is that not only the catalog is used, but also the VTOC is read...

evaluate if the <date cataloged> is a good alternative ...
in this case the VTOC access can b avoided, but....
You will have to build the include list Yourself using a REXX script to invoke IGGCSI00
and run the adrdssu job with the prebuilt list
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: how optimizing my ADRDSSU

Postby j2422tw » Thu Feb 23, 2012 11:54 am

I think the problem is not the amount of datasets, could you post the entire ADRDSSU's SYSIN?
j2422tw
 
Posts: 25
Joined: Wed Sep 19, 2007 9:46 am
Has thanked: 0 time
Been thanked: 0 time

Re: how optimizing my ADRDSSU

Postby expat » Thu Feb 23, 2012 12:39 pm

Then I suggest that you

a) Think again
b) Read Enricos response and follow up on it

Click HERE to see how to use IGGCSIRX ( IGGCSI00 )

However, having played many times with this code, you will need to be quite proficient in REXX to accomplish this task
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: how optimizing my ADRDSSU

Postby expat » Thu Feb 23, 2012 12:45 pm

In fact, I have posted some REXX code which is readily available via google, just use IGGCSI00 and Expat as the search criteria
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: how optimizing my ADRDSSU

Postby enrico-sorichetti » Thu Feb 23, 2012 1:47 pm

I think the problem is not the amount of datasets, could you post the entire ADRDSSU's SYSIN?


why do You think so? ... wiser to post evidence, not just wild guesses
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: how optimizing my ADRDSSU

Postby j2422tw » Thu Feb 23, 2012 2:24 pm

by samb01's question:
Do you know an other method to do it faster, or to prevent ADRDSSU to check each time the millions datasets.. ?

I think the root reason of spend long time is DFdss logical DUMP command : WAIT.

If samb01's job not code WAIT, the default is WAIT(2,2), and my sugession is change it to WAIT(0,0).

So need he to post the complete SYSIN.
j2422tw
 
Posts: 25
Joined: Wed Sep 19, 2007 9:46 am
Has thanked: 0 time
Been thanked: 0 time

Re: how optimizing my ADRDSSU

Postby parthiban » Mon Feb 27, 2012 11:23 pm

Alternate method:

Use Rexx and find out the dataset covering RACF profiles
Use LD P( Profile name ) gen all --> list out all the datasets.
put in the stem and use delete command to delete the datasets.

I am not sure how usefull it is ..just a suggession.....

Thanks,
Parthiban J
Parthiban jayaraman
mainframe rexxer,
Banglore
parthiban
 
Posts: 66
Joined: Mon Oct 20, 2008 7:54 pm
Location: Bangalore-India
Has thanked: 0 time
Been thanked: 0 time

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post