[Info-vax] Command Procedure pass value to program READ
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Tue Feb 8 12:49:13 EST 2022
On 2022-02-08 16:38:00 +0000, HCorte said:
> The source code of this subroutine is from the 90's, gona try later
> changing this subroutine itself and put a condition if its unit=5
> change the value to unit=6.
I'd use an explicit OPEN and your own chosen unit, and use FILE and
DEFAULTFILE for the file specification on the explicit OPEN. This gives
you direct control over all of this.
The file unit selected is best not 5 or 6 (nor 100, 101, nor 102), and
either manually coordinated with all other units used in the app, or
automatically coordinated with other units via ubiquitous usage of
LIB$GET_LUN within the app.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list