MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
prakash123456 Beginner Joined: 31 Jul 2007 Posts: 1 Topics: 1
Posted: Wed Sep 05, 2007 1:41 am Post subject: Search the procs
HI Guys,
I have 1000 procs in a PDS.have to Search the procs for any dataset where space allocation is more than 50 CYLS.
For ex:
//SORTOUT DD DSN=YI75.DISCOUNT.HISTORY.MD800.LIVE(+1),
// DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=VB,BLKSIZE=23476,LRECL=1111),
// SPACE=(CYL,(210,50),RLSE)
The above datase space have more than 50 CYLS. I want to list datasets only.
Result:
SORTOUT DD DSN=YI75.DISCOUNT.HISTORY.MD800.LIVE(+1),
Can U please help on the above?
Thanks
Prakash
Back to top
jsharon1248 Intermediate Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
Posted: Wed Sep 05, 2007 8:55 am Post subject:
JOB/SCAN utility works well for stuff like this, if your shop has it.
Back to top
vivek1983 Intermediate Joined: 20 Apr 2006 Posts: 222 Topics: 24
Posted: Thu Sep 06, 2007 2:35 am Post subject:
prakash123456 ,
I think REXX will give u the desired results.
Vivek.G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum