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

Display volume serial number


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Sun Nov 06, 2011 10:50 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sun Nov 06, 2011 11:00 pm
Reply with quote

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
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Sun Nov 06, 2011 11:18 pm
Reply with quote

As I said there are multiple files with diffrent name qualifier , so in one go 3.4 will not work.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sun Nov 06, 2011 11:36 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Nov 07, 2011 12:00 am
Reply with quote

What do you want to know the volser for? Have you talked to your storage people?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Nov 07, 2011 4:25 am
Reply with quote

The ISPF workplace... (to the OP: don't ask, RTFM!)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 07, 2011 10:48 am
Reply with quote

Hedllo,

Why do you believe you need to get the volser(s). . . icon_confused.gif

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Nov 07, 2011 11:25 am
Reply with quote

Hi,

if they are disk datasets, search for LISTDSI & SYSVOLUME.



Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 07, 2011 1:42 pm
Reply with quote

Perhaps if you explain why you need the volser, then perhaps a solution may be forthcoming.
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Mon Nov 07, 2011 8:51 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Nov 07, 2011 9:41 pm
Reply with quote

How do you think that that will simplify your task?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 07, 2011 9:48 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Mon Nov 07, 2011 9:53 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Nov 08, 2011 12:23 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Tue Nov 08, 2011 12:48 am
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Nov 08, 2011 6:10 am
Reply with quote

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 08, 2011 8:25 am
Reply with quote

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
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Fri Nov 11, 2011 5:22 pm
Reply with quote

Thanks gcicchet

LISTDSI and SYSVOULEM WORKED !!!!!!!
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top