View previous topic :: View next topic |
Author |
Message |
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Thu Jul 05, 2007 2:24 am Post subject: strange parameters in ALLOCATE |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jul 05, 2007 3:16 am Post subject: |
|
|
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- SMS managed or not
- VSAM or not
- what is the definition of 'yyy'
- 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 |
|
 |
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Thu Jul 05, 2007 3:42 am Post subject: |
|
|
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 |
|
 |
|
|