18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

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.

21.2.1.2. Packet Generation PROC<br />

SDFI, SDFO–System Data Format I/O Routines<br />

S$DFCT is a MASM procedure that generates the SDFO packet (or FCT). S$DFCT<br />

defines the fields of the packet, initializes the packet, and displays a diagram of the<br />

packet.<br />

The MASM definition element SDFP$ contains the S$DFCT procedure. This element<br />

must be included in the calling program in order to use the S$DFCT procedure by using<br />

the following MASM directive:<br />

$INCLUDE ‘SDFP$’<br />

S$DFCT Calling Sequence<br />

There are two calling sequences for the S$DFCT procedure. The first call is used if the<br />

G-option is specified. The second call is used if the G-option is not specified.<br />

• Call 1 (G-option specified)<br />

label S$DFCT,o ifn,f,msa blw,buf1,buf2;<br />

ialng,ialoc,icw w,x,l<br />

• Call 2 (G-option not specified)<br />

label S$DFCT,o w,x,l<br />

The first call generates the packet definitions, initializes the packet, and displays the<br />

packet in the calling program's assembly. The second call generates the packet<br />

definitions and displays the packet but does not initialize the packet.<br />

Parameters<br />

label<br />

o<br />

Prefix for field names (see L-option)<br />

Options (must be in quotes)<br />

D<br />

G<br />

L<br />

Display the packet diagram, including user-defined names.<br />

Generate packet from parameters on Call 1.<br />

Generate dynamic definitions using label on S$DFCT call as prefix for field<br />

names.<br />

7833 1733–004 21–13

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

Saved successfully!

Ooh no, something went wrong!