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
 

 

deleting PS files using REXX

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
d katkuri

New User


Joined: 27 Feb 2013
Posts: 16
Location: india

PostPosted: Tue Apr 23, 2013 2:28 pm    Post subject: deleting PS files using REXX
Reply with quote

I will get a list of cataloged datasets in a PS file . Then I want to search through the JCL/PROC libraries to see if those datasets are REFERENCED by the JCL/PROC?

If I don't find any reference, then you want to remove the dataset?

Could you please let me know how to achieve this task
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 23, 2013 2:35 pm    Post subject: Reply to: deleting PS files using REXX
Reply with quote

again ...
be more detailed about the help You need....

the requirement is so specific that You risk to get just generic replies

read the ISPF manuals on how to invoke the SRCHFOR utility Thru rexx

search the forum and/or google for REXX ISRSUPC
Back to top
View user's profile Send private message
d katkuri

New User


Joined: 27 Feb 2013
Posts: 16
Location: india

PostPosted: Tue Apr 23, 2013 2:46 pm    Post subject:
Reply with quote

Requireemnt:
----------------

PS file:
abc.d1 - dataset
abc.d2 - dataset
abc.d3 - daaset

i need to read each dataset name in a PS file and search in production lib - corp.jcl.lib nad if the dataset is not there in the production LIb then i need to delete the abc.d1 dataset.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 23, 2013 2:51 pm    Post subject: Reply to: deleting PS files using REXX
Reply with quote

stop repeating the same thing over and over.

do not expect anybody to provide You with a ready to run solution !

did You care to read my previous post on what to search ?
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 Apr 23, 2013 3:41 pm    Post subject:
Reply with quote

And why for the love of God don't you just ask your storage management people to do their jobs properly in ONE hit rather than have someone else running around into eternity chasing spurious datasets through PROCLIBs and JCLLIBs.

ONE single and simple solution resolves this for the rest of time.
Why do you not follow that route instead

36_2_18.gif

Oh, I know ........... It's the requirement
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Apr 23, 2013 3:55 pm    Post subject:
Reply with quote

It is a shame that people like the TS work in ICT and waste our time.
And always under the pretext that it is the requirement.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Tue Apr 23, 2013 6:30 pm    Post subject:
Reply with quote

expat wrote:
And why for the love of God don't you just ask your storage management people to do their jobs properly in ONE hit rather than have someone else running around into eternity chasing spurious datasets through PROCLIBs and JCLLIBs.

She probably is the storage management workgroup lead.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 645
Location: Pennsylvania

PostPosted: Tue Apr 23, 2013 6:58 pm    Post subject:
Reply with quote

You may miss the dataset if it is in a PROCLIB and the dataset name has a Symbolic parameter that is not resolved until execution time.

We have a product to expand our Jobs to resolve these symbolics, so that proper searches can be done.
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: Tue Apr 23, 2013 9:18 pm    Post subject:
Reply with quote

Duplicate - locked.

The "other" topic has more dialog.

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm


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