Download Print this page

HP 3000 Manual page 165

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

Advertisement

2
3
4
5
6
7
(3) >EXIT
END OF PROGRAM
:
In the fourth example, the TEXT command is used with SIMCAL, and the first five lines are listed (1).
Next, the five lines are deleted (2). When the user attempts to change work files to SIMCAL3, using the
FILE command, a safety prompt is displayed. The negative response results in a cancellation of the FILE
command (3).
SIMCAL, with the first five lines deleted, is then copied into a permanent file named SAVEFILE using the
KEEP command (4). Two execution messages are displayed (5). A DELETE ALL command is given. Note
that line 6 is the first in the file (6). <Control Y> is applied to halt the listing of the deleted lines but, as the
message indicates, it does not halt the deletion (7). The FILE SIMCAL3 command, this time with the
NOW parameter added to disable the safety prompts, is executed (8).
>TEXT SIMCAL
Text completed.
>
(1) >L 1/5
1
SIMCAL
2
3
4
5
(2) >D 1/5
1
SIMCAL
2
3
4
5
Delete completed.
>
>FILE SIMCAL3
(3)
KEEP not done, CLEAR current work file?NO
File cancelled.
(4) >KEEP SAVEFILE
LINE 2
LINE 3
LINE 4
LINE 5
LINE 6
LINE 7
00011H
00012FINPUT
IP
00013FOUTPUT
O
00014IINPUT
AA
00015I
OR
00011H
00012FINPUT
IP
00013FOUTPUT
O
00014IINPUT
AA
00015I
OR
F
72
F
72
01
1
CA
02
1
CS
F
72
F
72
01
1
CA
02
1
CS
DISK
DISK
DISK
DISK
2- 167

Advertisement

loading