Data Transfer Method A [ 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 A
Data transfer method A is the simplest way of indicating data transfer.
You can transfer all data or no data. You indicate a transfer of all
data by providing the value 0 for datadescrpttype or a transfer of no
data with a value of -1. When all data is moved, it is moved as a
concatenated string to or from the databuf parameter. The number of
bytes moved is equal to the sum of the lengths of all the fields on the
form. No data type conversion takes place; all data is transferred as
type CHAR.
To indicate this method of transfer, you must supply the descrpttype
subparameter and one of the following values:
-1 = transfer no data
0 = transfer all data
Examples
`screen 10` COBOL: 01 datadescrpt pic s9(8) comp.
FORTRAN: INTEGER*4 DATADESCRPT
Pascal: var datadescrpt : integer;
MPE/iX 5.0 Documentation