FORM [ HP RPG/XL Utilities-Part 2 RISE ] MPE/iX 5.0 Documentation
HP RPG/XL Utilities-Part 2 RISE
FORM
FORM displays an RPG Record Specification form or column indicator on the
screen.
Form
FO[RM] form
Parameter Explanation
"form" Meaning
H Header specifications
F File specifications
E File extension specifications
L Line counter specifications
I Input specifications
C Calculation specifications
O Output specifications
CO[L] Column indicator
NOTE Space is not required between command and parameters.
Purpose
The FORM command enables you to display an RPG Record Specification form
of the type "form" in Line mode. This gives you a visual "heading" for
the form with abbreviated explanations of the entries expected for the
columns. A column indicator is also available with the "COL" option.
Related Commands
While in ADD mode you can change forms by entering:
^^ form
Execution mode: Line
Examples
The following are legal abbreviations which may be used with the FORM
command and its parameters:
FORMH Display Header Specification form.
FOO Display Output Specification form.
FOCOL Display column indicator.
In the first example, a non-existent form is called for, using the FORM
command. It generates an error message (1). The command is then entered
correctly for the Column Indicator to be displayed (2).
The Column Indicator is displayed and SIMCAL, which is the work file, is
listed (3). <Control Y> halts the listing (4).
>
>FORM XSPECS
(1) ^
Error 173: Only H,F,E,L,I,C,O, or COl allowed.
(2) >FORM COL
0 1 2 3 4 5 6 7
12345678901234567890123456789012345678901234567890123456789012345678901234567890
(3) >L A
1 00011H
SIMCAL
2 00012FINPUT IP F 72 DISK
3 00013FOUTPUT O F 72 DISK
4 00014IINPUT AA 01 1 CA
5 000151 OR 02 1 CS
6 00016I OR 03 1 CM
7 00017I OR 04 1 CD
8 00018I OR 05
9 00019I 8 72OPRND1
10 00020I 9 132OPRND2 99
(4) <Control Y>
>
In the second example, an error is generated when FORM is entered without
a particular form specified (1). The FORM command is then correctly
entered, with the Header Specification form specified, and the form is
displayed (2). The first line of SIMCAL is listed and shown in
relationship to the Header Specification form (3).
>
(1) >FORM
Error 173: Only H,F,E,L,I,C,O, or COl allowed.
(2) >FORMH
MPE/iX 5.0 Documentation