HP 3000 Manuals

Data Transfer Method B [ High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual ] MPE/iX 5.0 Documentation


High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual

Data Transfer Method B 

This method of data transfer lets you move a subset of data starting with
the first byte.  You indicate this method by supplying 10 as the
four-byte integer for descrpttype.  Data is moved as a concatenated
string from or to databuf.  This method allows for no data type
conversions.

The subparameters you must supply to use this data mapping method and
their range of values are:

descrpttype      10

buflen           Supply the number of bytes you want to move.

rtnbuflen        The number of bytes actually moved is returned in this
                 subparameter.

Examples 

     COBOL:
                    01 datadescrpt.
                       05  descrpttype       pic s9(8) comp.
                       05  buflen            pic s9(8) comp.
                       05  rtnbuflen         pic s9(8) comp.

         FORTRAN:
                    INTEGER*4     DATADESCRPT(3)
                    INTEGER*4     DESCRPTTYPE
                    INTEGER*4     BUFLEN
                    INTEGER*4     RTNBUFLEN
                    EQUIVALENCE (DATADESCRPT(1), DESCRPTTYPE),
                   +            (DATADESCRPT(2), BUFLEN),
                   +            (DATADESCRPT(3), RTNBUFLEN)

        Pascal:
                    type
                      datadescrpt_rec = record
                        descrpttype        : integer;
                        buflen             : integer;
                        rtnbuflen          : integer;
                          end;

                    var
      /                datadescrpt          : datadescrpt_rec;



MPE/iX 5.0 Documentation