IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Want to know the PDS's of existing particualr variable


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 463

PostPosted: Mon Jun 05, 2006 10:26 am
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Adding first / last acct numerber to ... DFSORT/ICETOOL 7
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top