View previous topic :: View next topic
|
Author |
Message |
Arunz/os
New User
Joined: 09 Feb 2015 Posts: 2 Location: India
|
|
|
|
Hi,
I am creating a tool to open the programs/jcls/sortin codes in tso. I have a doubt of opening a component from an unknown pds..
Means I am unknown of the PDS name where my componen exists...
in 3.4 we can give "TSSSWE.DEVSTAGE.**.SOURCE"
Will result in
TSSESWE.DEVSTAGE.P11067.SOURCE
TSSESWE.DEVSTAGE.P11069.SOURCE
TSSESWE.DEVSTAGE.P11073.SOURCE
TSSESWE.DEVSTAGE.P11077.SOURCE
in these my component exists in "TSSESWE.DEVSTAGE.P11073.SOURCE"
How to search in all the pds and open the code in view mode... Please help ..... |
|
Back to top |
|
|
Khadhar Basha
New User
Joined: 28 Oct 2014 Posts: 44 Location: India
|
|
|
|
Hi Arun,
I am not expert in rexx but I can suggest you the below.
Try to take all 4 PDS in a look.
Check if PDS(COMPONENT) is ok(valid dsn name) then open.
Make it as a loop to check every pds.
Hope this helps |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
You can avoid writing a tool by using the SRCHFOR command on the 3.4 panel. It can search a list o PDS data sets and tell you which ones have a hit. |
|
Back to top |
|
|
Arunz/os
New User
Joined: 09 Feb 2015 Posts: 2 Location: India
|
|
|
|
Thank you so much for your replies... I am sorry enrico for not posting my questions in a clear way.... |
|
Back to top |
|
|
|