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 

strange parameters in ALLOCATE

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu Jul 05, 2007 2:24 am    Post subject: strange parameters in ALLOCATE Reply with quote

I try this forum to get an answer for my question, since the statement that bothers me is issued within an IDCAMS step.

A colleague found an example for an allocate statement, which gives us some headaches: In an IDCAMS step he issues multiple statements like
ALLOCATE DATASET ('xxx') LIKE ('yyy') UNIT(WORK,9) UCOUNT(9) SPACE (80,80) CYLINDERS
This IDCAMS step abends with "too many datasets".

My question is: What does this UCOUNT and the "WORK,9" do? The manuals have been no help for me, and searching in the forums hasn't produced any hit.

with many thanks
Christian
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jul 05, 2007 3:16 am    Post subject: Reply with quote

The UNIT parm specifies parallel mounting on 9 devices.
The UCOUNT is unit count.

in effect you are attempting to allocate a multi-volume DS. Why are you doing this? especially with 80 cyls?

not knowing
  1. SMS managed or not
  2. VSAM or not
  3. what is the definition of 'yyy'
  4. VOLUME parm
makes answering this question very difficult - as well as being forced into potentially erroneous assumptions.

next time you have a question, please include the JES msgs (all of them) associated with the error, and extraneous info, especially when you use MODEL or LIKE.

MVS JCL reference, SA22-9578-08 contains info on UNIT parm
DFSMS Access Method Services for catalogues, SA26-7394-03 for UCOUNT and UNIT.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu Jul 05, 2007 3:42 am    Post subject: Reply with quote

Hallo Dick,

many thanks for your prompt answer. To your points

1. SMS managed, but shall be placed on WORK-Pool
2. not VSAM
3. 'yyy' is an existing dataset with fitting DCB parameters.
4. no volume assignement intended

Actually we will convince our colleague to use ony statements he understands, and using multiple devices for such a small dataset was really not neccessary.

regards
Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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