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
 
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: 10374
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: 10374
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: 8619
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: 2445
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: 1783
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: 688
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

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