12.07.2015 Views

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Assembler</strong> Procedure FormatAll of the NETEX assembler procedures have the following format,<strong>Call</strong>Parametersnxcall[W] nrb [err-return]nxcallThis is the procedure name. The name may be one of the following: SOFFER, SCONNECT,SCONFIRM, SWRITE, SREAD, SCLOSE, or <strong>SDISC</strong>. More information about each of theseNETEX procedures is presented later in this section.nxcallwIf this optional parameter is specified, return will not be made to the caller until the request has completed(NRBSTAT zero or positive). If not specified, return will be made immediately after preliminaryerror-checking of the request (by NETEX).nrbThis is the address of the NETEX request block (NRB) that is to be used with this procedure. Allrelevant fields must have been previously set or cleared in the NRB by the caller. NRBSTAT andNRBIND are always cleared by the procedure. This field may have the following form:U-field[,X-reg[,J-desig]]err-returnIf specified, this is optional parameter is the address to which control will be transferred if the requestcompletes with a nonzero return code (indicating an error). Note that this does not apply to the immediatereturn with an in-progress status (negative value).Register UsageAll calls use and destroy the minor register set. A0 contains the NRB address on return (except for SWAIT,where it is undefined).<strong>Assembler</strong> Command ExamplesThe following statements are sample NETEX calls:L,USOFFERWX9,NRB1X9SWRITE NRBW,,U WRITERRSREADWRDNRBA,,UMAN-REF-H307IP-04 H307 <strong>Assembler</strong> Interface Page 37

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

Saved successfully!

Ooh no, something went wrong!