MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UNIT=ALLOC

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Vodkasoda
Beginner


Joined: 23 Jan 2004
Posts: 19
Topics: 6
Location: Dublin

PostPosted: Wed Jun 29, 2005 5:12 am    Post subject: UNIT=ALLOC Reply with quote

Why would anybody use this, what does it do ?!?!?

I've been programming for over 20 years and have never used it, can't recall ever seeing it before ... it doesn't show as an option on the UNIT parameter in my QWIKREF system ...

However, I've now been asked to tidy up some old JCL and this is all over the place ... can I safely delete it ?!?!
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jun 29, 2005 5:24 am    Post subject: Reply with quote

vodkasoda,

UNit=alloc is used to define a device as the default unit-affinity-ignored unit name. Check this link (example 6 at the bottom) which explains in detail

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/12.62.6?SHELF=&DT=20030423085347&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vodkasoda
Beginner


Joined: 23 Jan 2004
Posts: 19
Topics: 6
Location: Dublin

PostPosted: Wed Jun 29, 2005 5:35 am    Post subject: Reply with quote

Thanks for the reply Kolusu, but I've already looked there and it doesn't give an example of the exact line UNIT=ALLOC ...

It tells how to point at a specific UNIT, or to use the same UNIT as a previous file, but I need to know what the exact phrase of UNIT=ALLOC means !!!
Back to top
View user's profile Send private message Send e-mail
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Wed Jun 29, 2005 6:02 am    Post subject: Reply with quote

Hi; In the unit parameter you can use anything that IBM has defined as a default (3490 3390 sysallda etc) or what your sysprog has defined as an installation default ( disk, tape) etc . I assume that at some point in the past your sysprog has defined ALLOC as a valid devicename. The easiest way to check is run an IEFBR14 to allocate a dataset on unit alloc and see what happens
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Jun 29, 2005 8:04 am    Post subject: Reply with quote

Install the freeware TASID. It will show you the physical devices associated with the generic unit name.
Back to top
View user's profile Send private message Visit poster's website
Vodkasoda
Beginner


Joined: 23 Jan 2004
Posts: 19
Topics: 6
Location: Dublin

PostPosted: Wed Jun 29, 2005 8:51 am    Post subject: Reply with quote

nevilh - I ran a job that created 6 new files, 3 with UNIT=ALLOC & 3 without any UNIT= statement ... all 6 files were created on 6 different packs ... so I guess that UNIT=ALLOC is, as I suspected but still need to prove, doing nothing !!!

semigeezer - I'll try that now ...
Back to top
View user's profile Send private message Send e-mail
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Wed Jun 29, 2005 9:26 am    Post subject: Reply with quote

Try ISMF if you go into the option "VOLUME" you can generate a list based on
"DEVICE TYPE"
Back to top
View user's profile Send private message
Vodkasoda
Beginner


Joined: 23 Jan 2004
Posts: 19
Topics: 6
Location: Dublin

PostPosted: Wed Jun 29, 2005 9:27 am    Post subject: Reply with quote

semigeezer - I've run TASID & can find no reference anywhere to ALLOC !!!

Is there anywhere specific you suggest I check out ?!?
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jun 29, 2005 9:31 am    Post subject: Reply with quote

vodkasoda,

Try looking in SYS1.PARMLIB for member named ALLOCxx

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vodkasoda
Beginner


Joined: 23 Jan 2004
Posts: 19
Topics: 6
Location: Dublin

PostPosted: Wed Jun 29, 2005 9:36 am    Post subject: Reply with quote

I'm beginning to think I'll just leave these commands in place, superfluous or not !!!

nevilh - I get the response "LIST HAS NO ENTRIES"

kolusu - No such member
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group