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
 
Difference b/w UNIT, VOLUME and SERIAL in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
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

subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
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: 1592

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 4 Fri Sep 22, 2017 4:56 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm

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