Download Print this page

HP 3000 Manual page 151

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

Advertisement

5
:LINE FIVE
6
:<Control Y>
(3) >KEEP SAVEFILE
File exist already, purge old SAVEFILE?YES
Keep completed.
(4)
File name is SAVEFILE
In the next example, SIMCAL is copied into a work file, and the first five lines are listed (1). When BEGIN
is entered, no safety prompts appear because no changes have been made to the work file. With the ADD
command, RISE is able to start a new file. Three lines are entered before <Control Y> ends Add Mode (2).
The new file is then permanently stored under the filename "DATAFILE" (3).
>TEXT SIMCAL
Text completed.
>LIST 1/5
1
SIMCAL
2
3
4
(1)
5
>
>
>BEGIN
Ready to begin new session.
>ADD
Creating work space file.
1
2
3
(2)
4
>KEEP DATAFILE
(3)
Keep completed.
File name is DATAFILE
>
In the next example, the FILE command is used to allow for direct editing of SIMCAL (1). Since SIMCAL
is not a KSAM file and must be converted to one (see FILE), an execution message is returned which
prompts the user for additional information (2). The file DIRSIM is opened, and 6 lines are listed (3). A
CHANGE command is issued which changes the string "DISK" to "TAPE", and the results are listed (4).
Suppose at this point the user wishes to create a new file to contain important data. Currently, however,
the user is directly editing DIRSIM. Before creating the new file, the user would want to close DIRSIM,
making the new changes permanent and start a new editing session to create the new data file. The
BEGIN command will accomplish this. When it is executed, an execution message is displayed (5), and a
LIST ALL command brings an error message to the screen which indicates that RISE is ready for a new
00011 H
00012FINPUT
00013FOUTPUT
00014IINPUT
00015I
:DATA RECORD 1
:DATA RECORD 2
:DATA RECORD 3
:<Control Y>
IP
F
72
O
F
72
AA
01
1 CA
OR
02
1 CS
DISK
DISK
2- 153

Advertisement

loading