Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

PASSWORD function

Syntax: String-variable = PASSWORD
Discussion: The PASSWORD function returns the partition's password which has been previously defined by the SECURE statement.

The PASSWORD function requires a string variable with a length of up to 32 characters.

The SECURE statement is used to store the partition's password. SECURE is a convenient way to store a unique value, such as the user's log-on password, in the partition's task header.

See the PSTAT function.

Example:
PWORD$ = PASSWORD
The partition's password is returned in the string variable named PWORD$.