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

Chapter 5 213
Reformatting Specifications
Output Field Menu
Output Field Menu
A separate Output Field Menu shown in Figure 5-17., is displayed for every input field
named in the preceding Output Record Menu. The Output Field Menus are issued in the
order the field names were entered in the output record definition. No Output Field Menu
is issued for constants.
The Output Field Menu displays the information for a field entered on the preceding
output record definition. In addition, it allows you to change the data type of a field from
CHAR to any of the legal FORMSPEC data types. It also allows some formatting in
addition to that performed by default when data is moved from the input field in the batch
file to the output field in the output file.
Figure 5-17. Output Field Menu
The first line of the menu displays the input field values defined for this field on the
preceding Output Record Menu. None of these values can be changed.
The second line displays the output field values defined for this field. Except for the data
type, these values were established on the preceding Output Record Menu and cannot be
changed on this menu. The data type of all fields to be written to the output file is
defaulted to CHAR. This is done because only character type fields are written to the
output record exactly as they were entered. If you want the field to be formatted to the
format of a particular data type, you must change the data type specification on the
Output Field Menu. (Refer to Table 5-2. on the following page for the standard formatting
PREV
FORM
NEXT
FORM
REFRESH
PREV NEXT MAIN/
RESUME
EXIT
FORMSPEC v.uu.ff Output Field Menu REFORMAT FILE: A
[ ADDR ]INPUT Field:
L--Left
R--Right
C--Center
[1]
Start:
[]
JUSTIFY
[30]
Length:
[ FORMA ]
Form:
[ ADDR1 ]OUTPUT Field:
[1]
Start:
[20]
Length:
[CHAR ]
Data Type:
STRIP All ________________ Leading ________________ Trailing _____________
INSERT CHECK DIGIT
[]
10/11
F--Float
R--Right
Z--Zoned
[]
SIGN
[]
PLUS SIGN?
Y/N
L--Left
N--No sign
FILL All
[]
[]
[]
Leading
Trailing