Gilles writes:
>
> And, for those interested in a working Loadtape program that continues to
> work - in COBOL:
>
...
> CALL INTRINSIC "HPDEVCONTROL" USING hpstatus
This is good form in HP COBOL (using "CALL INTRINSIC" instead of
just "CALL") ...
but...
Users on older releases of MPE XL should be cautious:
1) HPDEVCONTROL was described incorrectly in the intrinsics
definition file (SYSINTR.PUB.SYS) for several releases.
(My notes say early 4.0 releases were still incorrect, but
is correct at least as of the "B.30.45" (internal OS version)
release of 4.0:
RELEASE: B.40.00 MPE/iX HP31900 B.30.45 USER VERSION: B.40.00
2) The original release (and possibly later ones as well) had a
flaw wherein passing a bad address for the STATUS parameter
could result in a system failure.
--
Stan Sieler [log in to unmask]http://www.allegro.com/sieler.html