Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we find specific member without knowing the name of PDS
or can we search a member to which PDS it belongs to? if so how?

Answers were Sorted based on User's Feedback



Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / pavan

We can find the dataset which is having the perticular member.
But you have list out all the datasets using 3.4.

EX: Suppose if your ID is starting with UCS5..then give
UCS5.** in 3.4......You will get the list of the datasets.
Then use command like below. Here member is "MAIN"

Command ==> M MAIN

"M" is the command to find the member in the datasets.

Is This Answer Correct ?    9 Yes 3 No

Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / guest

go to 3.4 option.
in the command line type the following.

command ==> MEMBER 'Member_name' (hit enter)

Is This Answer Correct ?    4 Yes 1 No

Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / rajesh

hi,

As the pavan said is correct,

more information we can also give mem 'dname' in 3.4 panel.

dname = ps name you want to find.

Thanks & Rgd's
rajesh

Is This Answer Correct ?    1 Yes 1 No

Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / muttaiah

@Jagan:

Work bench might be a tool in your project. Never divert
people in this way. because the same tool may or may not be
available in some projects..

Best way is to list all the datasets in 3.4 option.

Give M <member name> or Member <membername>

Is This Answer Correct ?    0 Yes 0 No

Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / shekar

If the member is in one of the allocated datasets, then the
following REXX would help you:

/* REXX COMMAND TO search the member in the allocated
dataset */
arg
mem

mem = strip
(mem)

say ' '

if (mem = '' | mem = ' ')
then

do

say 'please give the member to be searched as
argument'

exit


end



/*trace
I*/

call on
error

ADDRESS ISPEXEC "CONTROL ERRORS
RETURN"
call
outtrap "LINE."

ADDRESS
TSO "LISTALC"

call
outtrap "OFF"

say mem
N = line.0
a = 0

ADDRESS TSOEXEC
do I = 1 to N
dataset = line.i
fullds = "'"dataset"("MEM")'"
foundmem = SYSDSN(fullds)
if foundmem = 'OK' then
do
a = a + 1
say '"'MEM'" is found in "'dataset'"'
end
end
if a = 0
then
say '"'MEM'" is not found in list of allocated
datasets'
exit



error:

zerrsm = "Return code"
rc
zerrlm = "Return code from command is"
rc
zerralrm
= "YES"
zerrhm
= "*"
address ispexec "SETMSG MSG
(ISRZ002)"
return

Is This Answer Correct ?    0 Yes 2 No

Can we find specific member without knowing the name of PDS or can we search a member to which PDS ..

Answer / jagan

For searching a particular member to which PDS it belongs we
can check it in the workbench option 23...
In TSO Prompt enter > wb;;23 and enter the member name which
helps you find the PDS to which the member belongs too...

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

What do you do if you do not want to keep all the space allocated to a dataset?

2 Answers  


What is meant by S0C7 system abend code?

8 Answers  


While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

3 Answers   Steria,


What is the purpose of dd?

0 Answers  


is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)

3 Answers   HSBC,


How to execute 300 steps in a Job?

15 Answers   Accenture, Zensar,


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

0 Answers   IBM,


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

8 Answers   ADP,


jcl is like a complier....?

6 Answers  


Can a job have only steplib and no joblib ?

6 Answers  


If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?

3 Answers   ADP,


Categories