Download Print this page

HP 3000 Manual page 144

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

Advertisement

(See:MPEcommand.)
RISE will respond with execution messages, mode changes, and banners to some of the commands. The
example below includes only the prompt for information to be used in running the calculator. Comments
appear to the right and are not part of your responses. Also, see the MPE Segmenter Reference Manual, for
more information on USL and program files.
---------------------------------------------------------------------------------------
>T[EXT] SIMCAL
>L[IST] A[LL]
>V[ERIFY] R[PG]
>PRINT ALL RPGLIST
>RU[N] SEGDVR.PUB.SYS
-USL $OLDPASS
-PREPARE $NEWPASS
-EXIT
>:FILE INPUT=$STDIN
>:FILE OUTPUT-$STDLIST
>RU[N] $OLDPASS
When SIMCAL executes, you will receive the following message:
SIMPLE
CALCULATOR
Enter the data in the format:
C
NNNDD
Under C, you enter S (subtract), M (multiply), D (divid e), or A (add). Your operands may include three
whole numbers (NNN) and two decimals (DD).
After you enter the data in the prescribed format, SIMCAL produces the arithmetic answer and prompts
for more data.
When you have all the calculations you require, type ":" (colon), and you will exit from SIMCAL and return
to RISE. Do not type ":EOD" to end SIMCAL for it will also end RISE.
ADD
ADD allows you to add new lines to a work file.
Form
A[DD] [lb] [BY inc] [^^[form] [R[EPEAT] [n]]]
2- 146
NNNDD
Copy SIMCAL to work file
List contents for review
RPG compile the work file
Prints compilation listing offline
Run the Segmenter subsystem
Identify the USL file
Prepare USL file in a new program file
Leave the Segmenter subsystem
Issue FILE equations for I/O
Execute SIMCAL

Advertisement

loading