Ed Gould wrote:
On Feb 6, 2008, at 3:31 PM, Ted MacNEIL wrote:
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.".
It's not an IDCAMS issue.
It's a documented (flaw) feature of JCL.
The first place searched for file attributes is the executing programme.
If it thinks the file is sequential, it is treated as such.
Ted:
I disagree with you. it is IMO an OPEN issue it should return a RC
that indicates that open was successful but as a sequential dataset.
Although it might break a lot of code its a close call IMO. I think it
revolves around OPEN and a feedback code (which is not presented to
the end user) so IDCAMS is not really at fault its OPEN that has the
flaw, although I can see it from both sides. I can see where IBM would
say BAD and walk away from it, or say its fixed in rel 9999. Its a no
when situation as IBM coded open the way they did and who knows how
much code would need to be fixed? Now if someone had caught this back
in the 60's maybe.. but not this late in the game. On the other hand
they could make IDCAMS (if this is coded in the JCL create a member
called tempname. This might also break programs, but probably less
than the first.
Ed
Fujitsu/Siemens fixed this in the '70s in MSP (an MVS look alike).
It abended with some sort of x37 or x13 code. Of course, they had an
SYSGEN option so you could turn it off.
There is lots of stuff IBM could do to make it easier for users. For
example, an easier to use JCL. It costs money, though, and if the main
reason for a company to be in business is to make money for its
shareholders, then users don't get much of a look in. See Why Money
Doesn't Work Anymore at the end of the home page of my website:
http://members.ozemail.com.au/~oscarptyltd/:
Cheers,
Clement
,-._|\ Clement V. Clarke - Author Jol, EASYJCL, EASYPANEL, 370TO486
/ Oz \ Web: http://www.ozemail.com.au/~oscarptyltd
\_,--.x/ 38 Kings Park Road, West Perth, AUSTRALIA, 6005.
v Tel (61)-8-9324-1119, Mob 0401-054-155.
Email: [EMAIL PROTECTED]
----------------------------------------------------------------------
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