Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference b/w UNIT, VOLUME and SERIAL in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
tyln

New User


Joined: 19 Mar 2005
Posts: 1

PostPosted: Sat May 21, 2005 11:29 am    Post subject: Difference b/w UNIT, VOLUME and SERIAL in JCL
Reply with quote

what is the difference in UNIT, VOLUME and SERIAL in JCL?
Back to top
View user's profile Send private message
References
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 367
Location: Earth

PostPosted: Sat May 21, 2005 1:20 pm    Post subject: Re: some terms help!
Reply with quote

Hi,
UNIT parameter must be taken into consideration if any other facility is not supplying the information for example SMS. This is used with Dataset.
It can be one of the following:

DEVICE ADDRESS: A 3 or 4 digit Hexadecimal address of the device being requested.

DEVICE TYPE: Request a device by its generic name, supplied by IBM

GROUP NAME: Request a group of device with a symbolic name which is assigned during the time of system generation or IBM supplied.

UNIT COUNT: Specifies the no of the devices requested for a particular dataset.

DEFER: Request that the volume not be mounted until the dataset is opened.

AFFINITY: Request that the system allocates different datasets residing on different removable volumes to the same device during the execution of a step.

For Example:
UNIT=DISK
UNIT=TAPE
UNIT=SYSDA etc

VOLUME: It can request a specific volume by means of the serial no, or by requesting the same volume used by another dataset, or can refer back to a previous DD statement.

Example:
//DD1 DSN=TEMP.FILE,DISP=OLD, UNIT=SYSDA,
// VOL=SER=PACK1

//DD2 DSN=TEMP1.FILE,DISP=(NEW,CATLG,DELETE),UNIT=DISK,
// VOL=REF=TEMP.FILE

//DD3 DSN=TEMP2.FILE,DISP=OLD,UNIT=333,
// VOL=REF=*.DD1

SERIAL: Serial is used for referring the requested volume by using the serial no. See the first ex mentioned above.
Hope it will help
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1503

PostPosted: Sun May 22, 2005 12:20 am    Post subject:
Reply with quote

To put it another way: The VOLUME is the medium upon which you put the data. A UNIT is where the VOLUME(s) reside(s). The SERIAL is the name of the VOLUME(s).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1