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.

SWAIT FORTRAN <strong>Call</strong>The SWAIT call provides the means to wait for the completion of NETEX requests. Control will be returnedto the SWAIT caller as soon as it is found that any one of the NRBs specified no longer has the “in progress”flag set. Return from the subroutine will be immediate if any one of the NRBs has completed before theSWAIT call.After control is returned, it is the responsibility of the calling FORTRAN program to determine which of theNRBs in the list has completed. This can be done by examining the NRBSTAT field of each of the NRBs.<strong>Call</strong>ers should note that more than one NRB may have completed before control is returned to the caller.<strong>Call</strong> Operation ParametersCALL SWAIT (nrbnum, nrb [,nrb…])The following parameters were shown in the SWAIT call format. The parameters must be specified in theorder presented. If parameters are omitted, the commas must still be used.CALLThis is a required standard high level call instruction.SWAITThis is the verb for this call.nrbnumThis required parameter indicates the number of NRBs to wait for. Control is returned after the completionof any calls/NRBs specified. If nrbnum is equal to 0, outstanding NRBs to the user are updatedfollowed by an unconditional return. If nrbnum is equal to -1, wait for any request issued bythis program to finish.nrbThis parameter (required if NRBNUM >0) indicates the address of one or more NRBs (the number ofNRBs specified in nrbnum) associated with the wait request. The nrb is not needed for SWAIT (-1)or SWAIT (0).MAN-REF-H307IP-04 FORTRAN Interface Page 59

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

Saved successfully!

Ooh no, something went wrong!