VMS EssentialTraining ExtraCommand
VMS EssentialTraining ExtraCommand
Essentials Training
2. Managing Users
4. Introduction to Networks
5. Queue Creation
7. ACL’s
1
Open VMS System Mgmt. Essentials Training
System Startup (i.e. booting) is the process of loading operating system software from system disk into
memory.
⇒ VMB.exe (VAX) or APB.exe (Alpha) . Contain the location on disk of the primary boostrap program.
⇒ SYSBOOT.EXE . Read the system parameter
⇒ EXE$INIT. Creates a swapper process.
⇒ SYSINIT. Create the startup process
⇒ STARTUP. Process performs additional task and executes the SYS$SYSTEM:STARTUP.COM
⇒ SYS$SYSTEM:STARTUP.COM. This command procedure directs the execution of other procedures and
images.
⇒ SYS$MANAGER:SYLOGILCALS.COM. This file contains the whole system logicals.
⇒ SYS$MANAGER:SATELLITE_PAGE.COM.
⇒ SYS$SYSTEM:SYSPAGSWPFILES.COM. Managing the paging system.
⇒ SYS$MANAGER:SYSECURITY.COM. Controls the system security.
⇒ SYS$MANAGER:SYSTARUP_VMS.COM. It’s used by the system manager to perform a number of
task including:
⇒ Mounting disk
⇒ Installing known images
⇒ Starting one or several network protocols
⇒ Configuring a variety of devices
⇒ Starting layered products by calling their specific command procedures
System Shutdown. It’s the process of stopping the whole operating system.
SYS$SYSTEM:SHUTDOWN: This is the file that invoke the shutdown process. Depending on the situation, you may
choose between the following:
⇒ An orderly shutdown
⇒ An emergency shutdown
Commands Related:
$ SHOW SYSTEM
$ SHOW PROCESS
$ SHO DEVICE
$ SHO CLUSTER
$ SHO DEFAULT
2
Open VMS System Mgmt. Essentials Training
2.MANAGING USERS
SYS$SYSTEM: RIGHTSLIST.DAT: Associates users with identifiers which can be used for additional protection.
SYS$SYSTEM: NET$PROXY.DAT: Contains entries that map remote users to one or more local users. On systems
running, this file contains proxy information stored.
OWNER: Identifies the owner of the account and can be used for billing purposes.
ACCOUNT: All users in the same group must have the same Account name, and each Account name must belong to
one group only.
UIC: User Identification Code, it’s group number in the range from 1 to 37776 (octal) and a member number in the
range from 1 to 177776 (octal) in the format [group, member]. Group 1 and groups 300-377 are reserved for special
accounts.
DEFAULT: Indicates the user’s login device and directory. The directory name is typically the same as the username.
AUTHORIZED PRIVILEGES: They are a list of privileges the user is allowed to take after login.
DEFAULT PRIVILEGIES: They are a list of privileges the user get automatically at login name.
QUOTAS/LIMITS: Several fields are provided to specify resource quotas and limits allowed.
3
Open VMS System Mgmt. Essentials Training
Make the new user, the owner of the directory. If you do not, you need to change it using the SET
DIRECTORY/OWNER.
$CREATE/DIRECTORY/OWNER_UIC=uic+directory spec
Captive account
A captive account denies the user access to the DCL command level. The user is under control of a specific program.
To create a captive account, you should set:
Proxy account
Proxy accounts allow remote users to access a local account without providing a password. It minimizes the need to use
control access strings which include the password in node specifications passed over the network and eliminate the need
to grant world access to files and directories. A proxy login is not an interactive login, it allows the remote user to do
some operations on the local system such as executing a copy command.
UAF> CREATE/PROXY
UAF> ADD/PROXY /DEFAULT /node::remote-user local-user
4
Open VMS System Mgmt. Essentials Training
$ SHOW SYSTEM
$ SHOW PROCESS /ID= /ALL
$ SHO PROCESS /CONT/ID=
$ MONITOR PROCESS/TOPPCU
$ MONITOR SYSTEM
$ MONITOR DISK
$ STOP /ID=
5
Open VMS System Mgmt. Essentials Training
All lexical functions begin with F$, followed by the function name.
Format:
F$function-name([argument,…])
⇒ The function-name is the name of the lexical function. This name usually gives some indication of what the
function does.
⇒ The arguments for the function, if any, are enclosed in parentheses.
6
Open VMS System Mgmt. Essentials Training
4. INTRODUCTION TO NETWORKS
⇒ The higher layer, Transmission Control Protocol, manages the assembling if a message or file into smaller
packets that are transmitted over the Internet and received by TCP layer.
⇒ The lower layer, Internet Protocol, handles the address part of each packet so that it gets to the right
location
TCP/IP Services:
DECnet
DECnet is the collective name of Digital family of communications products that provides the means for various
Operating System.
DECnet networks support configurations, such as LAN and WAN, use FDDI, Ethernet and point to point connections.
We can found different modes of DECnet:
7
Open VMS System Mgmt. Essentials Training
5. QUEUE CREATION
Queues are categorize by the type of job that they will accept and are further divided into different types according to
their function.
Types of Queues:
Bach Queues:
Output Queues
• A generic batch queue can accept jobs from the SUBMIT command and transfer the jobs to available batch
execution queues. Batch execution queues can also accept jobs directly from the SUBMIT command and execute
the jobs.
• A generic output queue can accept jobs from the PRINT command and transfer the jobs to available execution
output queues. Output execution queues can also accept jobs directly from the PRINT command and print the jobs.
Queue Manager
Format:
INITIALIZE/QUEUE/BATCH/START SYS2_BATCH
8
Open VMS System Mgmt. Essentials Training
Generic batch queues can be used to hold and direct batch jobs to any execution batch queues available or to queues on
a specified list of execution batch queues.
Format:
INITIALIZE/QUEUE/BATCH/START/GENERIC SYS$BATCH
Format:
SET PRINTER [/device-characteristics] printer-name:
IE: SET PRINTER/PAGE=60/WIDTH=80/LOWERCASE/WRAP LPA0:
9
Open VMS System Mgmt. Essentials Training
Format:
SHOW QUEUE [/ qualifier][queue-name]
Qualifier Result
The START/QUEUE command restarts queues that have been stopped or paused.
Since execution queues are stopped during a shutdown, you need to include this command in the startup command
procedure to start each execution queue that was created without the /AUTOSTART_ON qualifier. Include the
ENABLE AUTOSTART command in the startup command procedure, to start all autostart queues at boot time.
START/QUEUE SYS2_BATCH
Stopping Queue
Individual queues can be paused, stopped, or closed to allow management of the specified queue. You can also choose
to stop all queues on specific node or for the entire cluster.
STOP/QUEUE SYS2_BATCH
Other Commands
10
Open VMS System Mgmt. Essentials Training
SUBMIT /QUEUE= queue-name file-name ………… Submit a execute file in a specific queues.
STOP/QUEUE/RESET queue-name…………………. Stopping a queue immediately
Managing Jobs
Managing jobs might require the following task to be performed:
⇒ Monitoring jobs
⇒ Modifying jobs
⇒ Requesting all jobs from a queue
⇒ Aborting jobs
⇒ Deleting jobs
Monitoring Jobs
To monitor the status of batch and print jobs use the SHO ENTRY command. The default is to display all of your own
job entries, to monitor other jobs provide the entry numbers or job names on the command line.
Format:
SHO ENTRY [/qualifiers [entry-number] [job-name]
Qualifiers Output
/BATCH Selects batch jobs for display
/BY_JOB_STATUS Selects for display only those jobs with the specified status.
/DEVICE= queue-type Selects for display only those print jobs in the specified queue type.
/FULL Displays the following information for each job entry number, job name,
user name, job status, full file specification associated with each job, date
and time of submission, settings specified for the job, queue name, queue
status and queue type.
/GENERIC Selects for display only those jobs contained in generic queues.
/USER_NAME-username Selects for display those jobs owned by the specified user.
Modifying Jobs
Jobs can be modified when in the queue if they are not executing.
Format:
SET ENTRY [/qualifiers] entry-number
Qualifier Description
/PRIORITY= n Specify the job priority between 0 and 255 to change the order of the jobs in
the queue. Default is 100.
/REALESE Release a job that is HOLDING or HOLDING UNTIL
/REQUEUE= queue-name Moves the job from its queue to the specified
Deleting Jobs
11
Open VMS System Mgmt. Essentials Training
1) DELETE/ENTRY deletes one or more jobs from a queue. If the job is executing , it aborts.
Format:
DELETE/ENTRY= entry number
2) STOP/QUEUE/ABORT deletes the currently executing job. The queue is not stopped and the next job starts
executing.
Format:
STOP/QUEUE/ABORT queue-name
3) DELETE/QUEUE deletes all the jobs from a queue. The queue must be in a stopped state.
Format:
DELETE/QUEUE queue-name
12
Open VMS System Mgmt. Essentials Training
7. ACL’s
The Open VMS operating system offers two primary protection mechanisms. The first, UIC-based protection is
based o the user identification code (UIC) and is applied to all protected objects.
The second protection mechanism uses access control list (ACLs), which employ a more refined level of protection
than that available with UIC-based protection, ACLs can be used to grant or deny access to individual users or
groups of users.
For most interactive user accounts, the default UIC-based protection is adequate. However, in some cases you may
want to set up an additional level of protection by using access control list (ACLSs). ACL- based protection
provides a more refined level of security in cases where different groups or members of overlapping groups share
access to an account.
Format:
Assigning ACLs
Capability
Common event flag cluster
Device
File
Group global section
Logical name table
Queue
Resource Domain
Security Class
System Global Section
Volume
Typically, ACLs are used when you want to price access to an object for some, but not all, users, or if you want
deny access to specific, unprivileged users.
13
Open VMS System Mgmt. Essentials Training
9 APPENDIX
14