------------------------<snip>-----------------
The problem is you are giving it a space param with directory block counts on the output file (the third number in space card), SMS picks that up and allocates a PDS instead of a Sequential file.

Change SPACE=(CYL,(7,1,43),RLSE) to  SPACE=(CYL,(7,1),RLSE)
...

The original poster admitted all that.
The question is whether or not IDCAMS should complain about being
asked to write to a PDS (not a member of a PDS) as a PS dataset.
...
It's not a IDCAMS issue
...

I don't think that's a given.  It's easy to see why this happens,
and it's not too difficult to deal with it (as others have noted), but
I think it violates the principle of least astonishment.   Writing to a
PDS as a PS dataset is almost certainly done by accident.  It would
be nice it IDCAMS would just say "You didn't want to do that.".
------------------<unsnip>---------------------
Why should IDCAMS be any smarter than IEBGENER ?? Both can have the same "problem".

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to