12.07.2015 Views

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FORTRAN InterfaceNETEX includes a library of subroutines that are designed to be called by FORTRAN high level languageprograms. When the user makes a call to the user interface, he will supply the appropriate information, inparameter format, to pass to NETEX.FORTRAN programs written to use NETEX may be used on other machines that use NETEX, provided thatchanges are made to the program to account for different word sizes, etc. One such change is the data lengthused when reading and writing data. Data lengths are specified to NETEX as a number of addressable units.An addressable unit is the amount of information obtainable from a distinct memory location on a particularmachine. For UNIVAC, an addressable unit is one 36-bit word.There are two components that are used to establish working communications through NETEX: one or moreNETEX Request Blocks (NRBs) that must be supplied by the FORTRAN caller, and the NETEX-providedsubroutines that are used to invoke NETEX services. The NRB is described first, followed by the calls to thesubroutines. The calls are presented in the following order (the approximate order in which they are used).• SCONN• SCONF• SREAD• SWRIT• SCLOSE• SWAIT• <strong>SDISC</strong>The use of these calls is described in “Intertask Communication” on page 9 of this manual. A FORTRANexample of a program using NETEX follows the macro description in this section. The formats of the callsare presented using the conventions stated in the preface of this manual.MAN-REF-H307IP-04 FORTRAN Interface Page 47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!