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
 
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 How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

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