Download Print this page

HP 3000 Manual page 309

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

the table below:
Value of
PARM
1
Creates the LDAFILE with 256 bytes.
2
Creates the LDAFILE with 512 bytes.
3
Creates the LDAFILE with 768 bytes.
32
Creates the LDAFILE with 8192 bytes.
If a value for PARM is not specified or is less than 1, the value for PARM defaults to 2 (a 512-byte
LDAFILE). If the value for PARM is greater than 32, the value defaults to 32 (an 8192-byte LDAFILE). For
example, to create and initialize an RPGUDATE file and a 512 byte Local Data Area, use the following
commands before accessing the LDA file:
RUN RPGINIT.PUB.SYS;PARM=2
or
RUN RPGINIT.PUB.SYS
For a 256-byte Local Data Area, use the following command:
RUN RPGINIT.PUB.SYS; PARM=1
The QUIET option allows you to suppress the display of informational messages when using RPGINIT to
create and initialize LDAFILE and RPGUDATE. This can be useful when running RPGINIT from a User
Defined Command (UDC) as shown in the example below. In most applications you can include the
RPGINIT command in a logon User Defined Command, as shown in the following UDC file:
SETUP
OPTION LOGON
RUN RPGINIT.PUB.SYS, QUIET
:
<other commands for setting up>
Displaying Contents
To display the contents of the Local Data Area (LDAFILE), the RPGUDATE file, and the user switch
settings (U1 through U8), run RPGINIT with the SHOW entry point, as shown below:
RUN RPGINIT.PUB.SYS,SHOW [;PARM=n ]
By running RPGINIT with the SHOW entry point, the current contents of the LDA file are displayed on
the terminal. The character data is blocked in groups of ten characters for easy verification of correct
updating of the LDA file by programs and by other job control procedures (such as PROCMON/3000). This
screen is shown below:
HP32104A.07.00 RPG INITIALIZER UTILITY (RPGINIT) (C) HEWLETT-PACKARD CO. 1986
1- 311
Action

Advertisement

loading