Consultor Eletrônico



Kbase 19418: Miscellaneous VMS Progress Commands
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

What are the VMS equivalents of various Progress commands in Unix.

FIX:

Some general comparatives between UNIX and VMS are:
- Under VMS, commands and their modifiers can be abbreviated to the least recognizable substring. For example:

PROGRESS/CREATE can be abbreviated to PROG/CRE provided there are no other commands that start with "PROG".

- Unlike UNIX, VMS is not case-sensitive.

- UNIX references environmental variables by preceding them with a dollar-sign (for example, $DLC/sports). VMS references logical names by ending them with a Colon (for example, DLC:sports).

- For descriptions of the various command modifiers, see the following Progress Solutions:

19413, "VMS Progress Server Command-Line Parameters"
19414, "VMS Progress Single-user Command-Line Parameters"
19415, "VMS Progress Client Command-Line Parameters"

- UNIX searches for executables and command scripts along the directories listed in the PATH environmental variable. Under VMS, commands must be either loaded into a command table (using the SET COMMAND function), or created as a symbol (by equating a local command to the path to the executable).

- To capture the output of a VMS command (for example, DBANALYS, TABANALYS, use the following commands:

DEFINE SYS$OUTPUT results.txt
PROGRESS/UTILITIES=DBANALYS testdb
DEASSIGN SYS$OUTPUT

Specific comparatives between UNIX and VMS are:

- Database creation and deletion:

UNIX: prodb db-name sports
VMS: PROGRESS/CREATE db-name sports

UNIX: procopy $DLC/sports db-name
VMS: procopy DLC:sports db-name

UNIX: prodel db-name
VMS: PROGRESS/DELETE db-name

- PROSTRCT commands:

UNIX: prostrct create db-name
VMS: PROGRESS/STRUCTURE/CREATE db-name

UNIX: prostrct add db-name
VMS: PROGRESS/STRUCTURE/ADD=structure-file db-Name

UNIX: prostrct convert db-name
VMS: PROGRESS/STRUCTURE/CONVERT db-name

UNIX: prostrct list db-name
VMS: PROGRESS/STRUCTURE/LIST=structure-file db-Name

UNIX: prostrct remove db-name token
VMS: PROGRESS/STRUCTURE/REMOVE=token db-name

UNIX: prostrct repair db-name
VMS: PROGRESS/STRUCTURE/REPAIR=structure db-name

UNIX: prostrct unlock db-name
VMS: PROGRESS/STRUCTURE/UNLOCK db-name

- Background processes:

UNIX: proaiw db-name
VMS: @BIN:PROAIW db-name

UNIX: proapw db-name
VMS: @BIN:PROAPW db-name

UNIX: probiw db-name
VMS: @BIN:PROBIW db-name

UNIX: prowdog db-name
VMS: @BIN:PROWDOG db-name

- Multi-user commands:

UNIX: proserve db-name
VMS: PROGRESS/MULTI_USER=START_SERVER db-name

UNIX: mpro db-name
VMS: PROGRESS/MULTI_USER=LOGIN/parameters db-Name

UNIX: proshut db-name
VMS: PROGRESS/MULTI_USER=SHUTDOWN db-name

- Miscellaneous commands:

UNIX: promon db-name
VMS: PROGRESS/MULTI_USER=SHUTDOWN/MONITOR db-Name

UNIX: prolog db-name
VMS: PROGRESS/PURGE_LOG db-name

UNIX: showcfg
VMS: (see Progress KBase 15783)

UNIX: proutil db-name -C dbrpr
VMS: (see Progress Kbase 19016)

- Backup commands:

UNIX: probkup db-name backup-file
VMS: PROGRESS/BACKUP db-name backup-file

UNIX: prorest db-name backup-file
VMS: PROGRESS/RESTORE db-name backup-file

- PROMON:

UNIX: promon db-name < promon-command-file > promon-output-file
VMS: Five steps:

a) DEFINE SYS$OUTPUT promon-output-file.
b) DEFINE SYS$INPUT promon-command-file.
c) PROGRESS/MULTI_USER=SHUTDOWN/MONITOR db-name.
d) DEASSIGN SYS$INPUT.
e) DEASSIGN SYS$OUTPUT.