EasyManua.ls Logo

Rocket 204 - Opening a File; Using OPEN with Different File Types; Opening a Public File

Default Icon
100 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Terminal Session 25
Opening a file
?
If the LOGIN had failed, Model 204 would have displayed the message:
*** M204.0349: LOGIN FAILED
Note: Once the user has successfully logged in to Model 204, the user can
issue any commands or enter User Language requests. Certain restricted
commands can be issued only if the user has the proper privileges, as
discussed in the Model 204 Parameter and Command Reference Manual.
Opening a file
Before the user can update or retrieve data, a file or group must be opened by
means of either the OPEN or OPENC command. The user enters:
{OPEN | OPENC} filename
where:
Files, groups, and the different characteristics of OPEN and OPENC are
described in the Model 204 Parameter and Command Reference Manual.
Using OPEN with different file types
Using OPEN with different types of Model 204 files results in different actions:
If a user attempts to OPEN a public file, Model 204 opens it.
If a user attempts to OPEN a semipublic file, Model 204 prompts for a file
password. If the user enters a valid password, the file is opened with all the
file privileges that are associated with that password. If the user does not
know the password and enters either an invalid password or a carriage
return, the file is opened, and the user is granted the default privileges for
the file.
If a user attempts to OPEN a private file, Model 204 prompts for a file
password and opens the file only if the user enters a valid password.
Opening a public file
The following example illustrates the opening of a public file:
?OPENC CLIENTS
CLIENTS is a public file and is opened without requiring a password. The
following message is displayed:
*** M204.0620: FILE CLIENTS OPENED
filename Identifies the file or group to be opened.

Table of Contents