HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

398 Chapter7
USING FORMSPEC IN BATCH MODE
ARB BATCH MODE COMMANDS
SCREENTOARB
Create/update the datatype conversion rules for generating an ARB from a form.
Syntax
SCREENTOARB
[chartype, datetype, digtype, numtype, imptype]
Parameters
chartype
The conversion type for screen fields with type CHAR.
datetype
The conversion type for screen fields with a date type.
digtype
The conversion type for screen fields with type DIG.
numtype
The conversion type for screen fields with type NUM, NUM0, NUM1…
NUM9.
imptype
The conversion type for screen fields with type IMP, IMP0, IMP1,… IMP9.
Discussion
This command creates/updates the datatype conversion rules for generating an ARB from
a form. If an update parameter is omitted, then the current conversion type for that
parameter is retained. If no update parameters are specified, all screen-to-ARB conversion
types are set to CHAR, the default. Leading commas must be supplied.
Valid type updates are: CHAR, YYMMDD, INT, DINT, REAL, LONG, PACK
n
, SPACK
n
,
ZONE
n
, PACKA, SPACKA, ZONEA.
EXAMPLE
The command:
SCREENTOARB, INT, REAL, REAL
sets the conversion type for DIG screen fields to INT, and for NUM and IMP screen fields
to REAL.