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

regarding UNIT=TAPE,VOL=(,RETAIN),BUFNO=6


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavani.Mala

New User


Joined: 16 Jul 2008
Posts: 2
Location: hydeerabad

PostPosted: Wed Jul 16, 2008 12:55 pm
Reply with quote

What is a unit parameter in JCL?

What is volume parameter, and how do we use volume parameter when UNIT=TAPE?

Can you please explain the meaning of following statement:

UNIT=TAPE,VOL=(,RETAIN),BUFNO=6
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Jul 16, 2008 1:08 pm
Reply with quote

Hi,

The UNIT parameter identifies the type of device a data set is to
reside on.

VOL=(,RETAIN) or VOL=(PRIVATE,RETAIN)

PRIVATE

requests a private volume - this prevents MVS from
allocating an output data set to the volume until it is
specifically requested - the volume will be demounted when
the data set is closed unless the data set is passed or the
RETAIN parameter is specified

RETAIN

for a private tape volume, requests that the volume not be
demounted or rewound when the data set is closed - a public
tape volume will be retained at the tape drive if it is
demounted during the job


Gerry
Back to top
View user's profile Send private message
Pavani.Mala

New User


Joined: 16 Jul 2008
Posts: 2
Location: hydeerabad

PostPosted: Wed Jul 16, 2008 6:25 pm
Reply with quote

Hi,
Thanks for the info. Up to unit parameter i understood. but im unable to understand regarding volume parameter and also the buffer (BUF) can u plz explain me in more detail .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Jul 16, 2008 6:35 pm
Reply with quote

Hi,
Quote:
unable to understand regarding volume parameter and also the buffer (BUF)

VOL PARAMETER: This parameter is used to identify the volume serial number on which dataset is reside. The VOL dataset is used with disk and tape datasets.

BUFNO: Supplies the number of buffers* to be assigned for this file when it is opened. The maximum is 255 or the value dictated by the region size. Valid for all access methods except TCAM & GAM.

*Buffer: An area of storage into which data is read or from which it is written. Typically, buffers are used only for temporary storage.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Jul 16, 2008 6:47 pm
Reply with quote

As Gerry explained, RETAIN means the tape should stay mounted on the UNIT at step end. This is usually to allow a following step to process the tape without the operators needing to remount it.

There are many other subparameters for VOL and the MVS JCL Reference manual would be a good place to start.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Related to Unit Testing Testing & Performance 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts ADR324E-VOL/DATASET SPECIFIED BY DDNA... JCL & VSAM 6
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
Search our Forums:

Back to Top