Consultor Eletrônico



Kbase 15584: PROGRESS return codes
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
PROGRESS return codes


WHAT ARE RETURN CODES (STATUS CODES)?

Return codes report the exit status of a program. They are used to
determine whether program execution completed successfully without
error.


WHAT DO THE VALUES MEAN?

Generally, an exit status, or return code zero (0) indicates that a
program execution completed successfully. Any non-zero values are
used to indicate failure and may sometimes indicate other conditions.


DOES PROGRESS USE NON-ZERO RETURN CODES?

PROGRESS guarantees the meaning of non-zero return codes only for the
proutil <dbname> -C busy and proutil <dbname> -C holder commands. Any
other non-zero return codes captured from other PROGRESS programs do
not have special meanings, therefore cannot be used to monitor any
program execution. If a program returns a non-zero exit status but
appears to have completed successfully, this is probably a bug and it
should be reported to PROGRESS Technical Support.


PROUTIL BUSY/HOLDER RETURN CODES.

Proutil busy/holder return codes can be used to determine whether a
database is running in single or multi user mode or is not in use.


UNIX,DOS,OS/2 Return code

proutil <dbname> -C busy

Database not in use 0
Database in use 6

proutil <dbname> -C holder

Database not in use 0
Single user mode 14
Multi user mode 16

Note: BTOS/CTOS return code is eight (8) when the database is in use.


VMS Status code

PROGRESS/UTILITIES=BUSY <DBNAME>

Database not in use %X00000001
Database in use %X08018028

PROGRESS/UTILITIES=HOLDER <DBNAME>

Database not in use %000000001
Single user mode %X0801803B
Multi user mode %X08018033


25-Mar-96


OTHER REFERENCES:

VERSION 6 SYSTEM ADMINISTRATION II CHAPTER 7
VERSION 7 SYSTEM ADMINISTRATION REFERENCE CHAPTER 5
VERSION 8 SYSTEM ADMINISTRATION REFERENCE CHAPTER 5

Progress Software Technical Support Note # 15584