View previous topic :: View next topic
|
Author |
Message |
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
I want to display vloume serial number of a PS flat file. There are multiple files and I want to display volume serial number in one go. Is there any ISPF command ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
isn' t the info provided by the standard 3.4 display enough ?
Code: |
DSLIST - Data Sets Matching ENRICO.ISPF Row 1 of 10
Command ===> Scroll ===> CSR
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
ENRICO.ISPF.DITPROF STOR03
ENRICO.ISPF.EXEC STOR04
ENRICO.ISPF.JCL STOR04
ENRICO.ISPF.MSGS STOR04
ENRICO.ISPF.OBJ STOR02
ENRICO.ISPF.PANELS STOR04
ENRICO.ISPF.PARMS STOR04
ENRICO.ISPF.PROFILE STOR03
ENRICO.ISPF.SKELS STOR01
ENRICO.ISPF.TABLES STOR01
***************************** End of Data Set list **************************** |
|
|
Back to top |
|
|
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
As I said there are multiple files with diffrent name qualifier , so in one go 3.4 will not work. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
I want to display vloume serial number of a PS flat file. |
that' s one dataset....
anyway the dataset organization does not make any difference ..
and, how are You going to provide the list ? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
What do you want to know the volser for? Have you talked to your storage people? |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1316 Location: Vilnius, Lithuania
|
|
|
|
The ISPF workplace... (to the OP: don't ask, RTFM!) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hedllo,
Why do you believe you need to get the volser(s). . .
If the datasets are cataloged, multiple 3.4 datasets lists, or LISTCATs, or an adrdssu/dfdss execution can show the volser(s).
If the datasedts are not cataloged, you will probably not be able to find the dasd volsers. If they are "tape" ask the tape storage management people. . . |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if they are disk datasets, search for LISTDSI & SYSVOLUME.
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Perhaps if you explain why you need the volser, then perhaps a solution may be forthcoming. |
|
Back to top |
|
|
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
I am writing one utility that is creating some files. it is runnig production.
however i want to use these files in test region, if i am able to display the files with vol ser than it will simplify my task. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
How do you think that that will simplify your task? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
If you more clearly/completely explain what you want to accomplish (and not what you think will make it "easier"), someone may have a suggestion that will help.
Usually datasets that are cataloged in one environment are "visable" in another (i.e. prod/test). If the datasets are cataloged, why not just refer to them by dsn? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
Quote: |
There are multiple files and I want to display volume serial number in one go. |
I am not sure what is meant by 'in one go'...
I think, no matter how you get the information, you will probably have process them one at a time in a loop. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If you have the authority to access the production files, it would seem "easier" to just use the DSNs as Dick has suggested.
If you don't have authority to access the production files, knowing the voume(s) upon which they reside is not going to help.
So, specifically, how do you think knowing the volume is going to help you? What is the problem with using the catalog? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
Quote: |
I am writing one utility that is creating some files |
When you create them, put them someplace where yo can find them later. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1050 Location: Richmond, Virginia
|
|
|
|
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
If Vkp321 is unwilling to describe what requirement this is to meet, the topic may as well be locked. . .
I'll check back on Tuesday sometime and see if there is some usable info or if it should be locked.
d |
|
Back to top |
|
|
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
Thanks gcicchet
LISTDSI and SYSVOULEM WORKED !!!!!!! |
|
Back to top |
|
|
|