pic_uform
-picture to UFORM
conversion program
pic_uform
[-l
lastchar
] [-f
firstchar
] [-s
fillchar
] [-r
rows
]infile outfile
pic_uform
is a tool used to create a skeleton UFORM
source definition (outfile
) from an edit file image of a form (infile
). The placement of fields and literals on the form is identical to their placement in the edit file.
No differentiation is made between protected and unprotected fields. Fields are designated as follows:
The last line of all fields begins with lastchar
. By default this is +
but it can be reset with the -l
option. All other lines of fields begin with firstchar
. By default this is =
but it can be reset with the -f
option. All other positions in fields contain fillchar
. fillchar
defaults to a _
, but may be reset with the -s
option. The tab character, (\t
), or the space character, (" "), can not be used as substitutes for the defaults.
A new page is indicated by a form feed (CTRL-L
). New pages are automatically generated when the number of rows on a page exceeds the rows argument on the command line. By default the maximum number of rows on a page is 24. The last row on a page is always reserved for the status line so only rows-1 rows are available on each page.
All text (other than fields) is assumed to be literals.
The input:
THIS IS A TEST MASK
+___________ +___________ +___________
+___________ +___________ +___________
^L
PAGE TWO
=____________
=____________
+____________
The output:
#SERVICE NAME=NULL
#FORM STATUSLINE=24 FLAGS="-"
#PAGE FLAGS="-" STATUSLINE=24
*ROW COL MIN LINES WIDTH FLAGS VALUE
1 25 0 1 19 L "THIS IS A TEST MASK"
+2 1 0 1 12 U
- 33 0 1 12 U
- 65 0 1 12 U
+1 1 0 1 12 U
- 33 0 1 12 U
- 65 0 1 12 U
#PAGE FLAGS="-" STATUSLINE=24
*ROW COL MIN LINES WIDTH FLAGS VALUE
+1 25 0 1 8 L "PAGE TWO"
+2 1 0 3 13 U
Whenever the form edit image changes and a new UFORM
skeleton is produced, all modifications made to the old skeleton, such as validations, help messages, etc., must be made to the new skeleton.
BEA TUXEDO Data Entry System Guide