Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How can we get the Volume serial number

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 64

PostPosted: Thu Apr 02, 2009 8:47 pm    Post subject: How can we get the Volume serial number
Reply with quote

Hi,

How to access a dataset which DISP=KEEP. How would we know the Volume serial no.? Can it be accessed without knowing the volume serial number.


Thanks,
Ravi
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Apr 02, 2009 8:57 pm    Post subject:
Reply with quote

IIRC, the volser is in the jeslog when the dataset is allocated.
If it is not cataloged, no.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Apr 02, 2009 9:05 pm    Post subject:
Reply with quote

Hello,

Quote:
How to access a dataset which DISP=KEEP.
No problem - there will be no dataset reference as that is a jcl error. . . icon_wink.gif

Quote:
How would we know the Volume serial no.? Can it be accessed without knowing the volume serial number.
VOLSERs are usually not referenced - everything except external tape file should be cataloged.

As Bill mentions, if you somehow are using a dataset that is not cataloged, you would need to specify the volser in the jcl.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Apr 03, 2009 3:23 pm    Post subject: Re: How can we get the Volume serial number
Reply with quote

ravikumar15 wrote:
How to access a dataset which DISP=KEEP. How would we know the Volume serial no.?
Did you want to say that mentioning Volume Serial no. , while using DISP=KEEP, is must?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 03, 2009 4:13 pm    Post subject:
Reply with quote

By default in an SMS environment, for DASD datasets DISP=KEEP is translate to DISP=CATLG.

Try to allocate a DASD with DISP=(,KEEP) and see what happens
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Sun Apr 05, 2009 7:16 pm    Post subject:
Reply with quote

I used to put the dataset name in my jcl then do an ed check. If I had the wrong vol=ser the checker would tell me the correct vol=ser for the dsn in the output. Then simply apply a standard 'cutnpaste' procedure.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us