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
 

 

Want to know the PDS's of existing particualr variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Sun Jun 04, 2006 4:57 pm    Post subject: Want to know the PDS's of existing particualr variable
Reply with quote

I want to know the PDS's of existing particualr variable......i mean i ahaven x001 variable,i want to know the variable in which pds will be existed or used
like that i want to know the file name existed by the record name "rec001".
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Mon Jun 05, 2006 10:26 am    Post subject: Re: Want to know the PDS's of existing particualr variable
Reply with quote

Hi,
Quote:
I want to know the PDS's of existing particualr variable......i mean i ahaven x001 variable,i want to know the variable in which pds will be existed or used
like that i want to know the file name existed by the record name "rec001".


Could u please Elaborate the problem.

Regards
Rupesh
Back to top
View user's profile Send private message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Wed Jun 07, 2006 2:07 am    Post subject: hi
Reply with quote

i haven requirement in that programs are impacted with the variable "A"
i want to know the varaible "A" in how many members it is existed,

like that i want know the record name with "r0001" in how many files in whole environmwnt
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Wed Jun 07, 2006 8:39 pm    Post subject:
Reply with quote

Hi Philipraju,

I think you must be having a specific library in which all your program exists. Searching that PDS would help you in finding the occurences of a particular variable.

Correct me, if I am wrong.

Regards,
Jerry.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Jun 08, 2006 11:07 am    Post subject:
Reply with quote

Hi philipraju,

You can do this.
Just Open the list of Datasets(both PS/PDS) in 3.4.

So should at least know the Highest Qualifier for the Datasets
For Eg: USERID.*

This will list all the PDS/PS .
Now go to command prompt and Type
SRCHFOR yourstring
Note: Make sure none of the data sets are migrated.

This will gives the PDS/PS which have the String.
Now open then PDS and give the command again to find out the Member with the particular string.

This will do you need.

~Vamsi
Back to top
View user's profile Send private message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Thu Jun 08, 2006 11:15 am    Post subject: Hi sreevamsi,
Reply with quote

Thanks For given reply on my query.......one more like that i want to list all the files which one haven record name with the "cust-Sreevamsi",is it possible to list all the files,is there any facilty in file-aid
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Jun 08, 2006 11:49 am    Post subject:
Reply with quote

Hi,

The Command SRCHFOR your record works for both PS and PDS.

You can try this command

~Vamsi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm


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