Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
regarding UNIT=TAPE,VOL=(,RETAIN),BUFNO=6

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: regarding UNIT=TAPE,VOL=(,RETAIN),BUFNO=6
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: 1703
Location: Australia

PostPosted: Wed Jul 16, 2008 1:08 pm    Post subject:
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    Post subject: Reply to: regarding UNIT=TAPE,VOL=(,RETAIN),BUFNO=6
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

Senior Member


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

PostPosted: Wed Jul 16, 2008 6:35 pm    Post subject:
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    Post subject:
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    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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us