Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)
Chapter 10 189
Technical Articles
Year 2000 and Other Enhancements in VPLUS
If the length of the save field is less than the length specified by buflen,
the bytes to the right are truncated. Following a successful transfer,
actualen is set to the actual number of bytes transferred to the save field
in memory.
Note that the contents of the save field as recorded in the forms file is
not changed by a call to VPUTSAVEFIELD. Also VPUTSAVEFIELD does
not convert the data moved to the save field in memory.
Example
COBOL
CALL "VPUTSAVEFIELD" USING COMAREA SFNAME SFBUF BUFLEN ACTLEN.
SPL
VPUTSAVEFIELD(COMAREA,SFNAME,SFBUF,BUFLEN,ACTLEN);
These calls will transfer the contents of the application buffer SFBUF to
the save field in memory specified by SFNAME. If the call is successful
ACTLEN will contain the exact number of bytes transferred.
Renumbering a Form with Interactive
FORMSPEC
FORMSPEC provides an option to renumber forms interactively. A new
command has been added to the Interactive FORMSPEC to renumber
forms. This command is invoked by selecting option “N” on the Main
Menu. The form to be renumbered should be specified in the field next
to the keyword “N”. (This field is the same as where you would specify a
form when also selecting the “D” option.) This option is equivalent to
the RENUMBER command in batch mode FORMSPEC.