Page 1 of 1

What is the differnce between UNIT and VOL Parameter in JCL?

Posted: Sun Feb 02, 2014 2:58 pm
by IT learner
Hi,

Could anyone clearly explain me the difference between UNIT and VOL Parameter in JCL? Are not they just same?

Re: What is the differnce between UNIT and VOL Parameter in

Posted: Sun Feb 02, 2014 5:22 pm
by zprogrammer
Unit and volume specify the location of a dataset.Unit specifies whether the dataset resides in DASD or TAPE
so you mention

UNIT=SYSDA or UNIT=TAPE

VOL specifies the volume seial number

Also here a very good link about the relationship

http://pic.dhe.ibm.com/infocenter/zos/v ... 560114.htm

Re: What is the differnce between UNIT and VOL Parameter in

Posted: Sun Feb 02, 2014 9:57 pm
by Robert Sample
UNIT defines the type of device. VOL defines the actual tape or disk; this is important when a site may have hundreds of disk volumes and many thousands (even hundreds of thousands) of tape volumes. They are definitely NOT the same -- nowhere near it.

Re: What is the differnce between UNIT and VOL Parameter in

Posted: Mon Feb 03, 2014 11:43 pm
by IT learner
Thanks Pandora.

Thanks Robert - your reply is pretty helpful to understand this. Many thanks.

Re: What is the differnce between UNIT and VOL Parameter in

Posted: Mon Feb 03, 2014 11:48 pm
by zprogrammer
Glad it helped :-)