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.

SWRIT FORTRAN <strong>Call</strong>The SWRIT (write) call provides a means for an application to transmit data to another calling program. Beforean SWRIT can be issued, a connection must be established.<strong>Call</strong> Operation ParametersCALL SWRIT[W] (nrb, buffer, length, datamd)The following parameters were shown in the SWRIT 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.SWRITThis is the verb for this call. Either SWRIT or SWRITW must be specified.SWRITWThis specifies that the calling program must wait for the call to complete before processing is resumed.nrbThis required parameter specifies the address of the NRB data area that is to be passed to NETEX.bufferThis required parameter specifies the start of an array that holds the user data that is to be sent to thecorresponding application.lengthThis required parameter specifies the length of the data (in addressable units - words for Unisys) thatis to be sent to the corresponding application, to be presented with the completion of the correspondingapplication’s OFFER request. If no data needs to be sent to the other application, the length maybe set to zero. The data type of length should be INTEGER.datamdThis optional parameter specifies the datamode that is to be used to send the connect data to the correspondingapplication. The data type of datamd should be INTEGER. Refer to NRBDMODE in“NETEX Request Block” for a discussion of the datamode parameter.SWRIT Entry ParametersThe following NRB fields are used by SWRIT on entry:NRBBUFA Address of outgoing Pdata.NRBLENLength of outgoing Pdata.NRBUBITPdata unused bit count.NRBDMODE Datamode of Pdata.NRBPROTA Address of outgoing Odata.NRBPROTL Length of outgoing Odata.SWRIT ResultsThe following NRB fields are updated when SWRIT completes:NRBSTATSuccess/failure code.Page 56 FORTRAN Interface MAN-REF-H307IP-04

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

Saved successfully!

Ooh no, something went wrong!