z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


getpass()

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-getpass--(--prompt--)---------------------------------------><

Function

Prints prompt on the controlling TTY and reads and returns one line of input with terminal echo suppressed.

Parameters

prompt
A string that prints on the controlling TTY

Example

To prompt for a password and read it:
psw=getpass('enter password') 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014