08.11.2014 Views

Software Reference Manual - NetEx

Software Reference Manual - NetEx

Software Reference Manual - NetEx

SHOW MORE
SHOW LESS

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

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

type<br />

the INDD field placed in this parameter. This information is for informational purposes only; the record<br />

module is not obligated to use this DDNAME or any other to provide or accept file information.<br />

This parameter is the type of record module: RREC (Receive Record Module) or SREC (Send Record<br />

Module)<br />

Assembler Record Module Entry<br />

Assembler routines are entered by a CALL macro using the same argument list structure shown in the previous<br />

FORTRAN example. This means on entry that register 1 will point to a list of addresses containing the<br />

arguments of the FORTRAN program. The resulting parameter list is shown in Figure 18. The meanings of<br />

the parameters are described above in the FORTRAN entry section.<br />

======================================================================<br />

Map of parameter pointers passed to a BFX record module from<br />

a BFX standard block module.<br />

----------------------------------------------------------------------<br />

0 (0) ADDRESS 4 RBUF Logical record location<br />

----------------------------------------------------------------------<br />

4 (4) SIGNED 4 RBUFLEN Record length<br />

----------------------------------------------------------------------<br />

8 (8) SIGNED 4 RBUFLEV Delimiter level<br />

----------------------------------------------------------------------<br />

12 (C) ADDRESS 4 RMSG -> 128 byte area for message<br />

----------------------------------------------------------------------<br />

16 (10) SIGNED 4 RMSGLEN Length of returned message .<br />

----------------------------------------------------------------------<br />

20 (14) SIGNED 4 RMSGLEV Severity of returned message<br />

----------------------------------------------------------------------<br />

24 (18) SIGNED 4 RMODE File MODE<br />

X’0’ 0 MODEBIT 0 => Bit made<br />

X’1’ 1 MODECHAR 1 => Character mode<br />

----------------------------------------------------------------------<br />

28 (1C) CHARACTER 8 RDDNAME DDNAME of file<br />

----------------------------------------------------------------------<br />

36 (24) CHARACTER 64 RRPARM 64 bytes of RPARM text<br />

======================================================================<br />

Work area for use by the record module<br />

----------------------------------------------------------------------<br />

100 (64) SIGNED 72 RMSAVE Save area for rtns called by Rmod<br />

----------------------------------------------------------------------<br />

172 (AC) SIGNED 128 RMDCB Data Control Block space<br />

----------------------------------------------------------------------<br />

300(12C) 180 ----- Reserved<br />

----------------------------------------------------------------------<br />

480(1E0) SIGNED 4 #RECS Counter for # of records read<br />

----------------------------------------------------------------------<br />

484(lE4) SIGNED 4 #BYTES Counter for # of bytes read<br />

----------------------------------------------------------------------<br />

488(1E8) SIGNED 4 #TRUNC Counter of # records truncated<br />

Page 62 Appendix A: User Modules MAN-REF-H211-05

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

Saved successfully!

Ooh no, something went wrong!