Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making pasword invisible

Status
Not open for further replies.

ndevriendt

Programmer
Jan 8, 2002
74
BE
Hello,

I've written a command where a username and password must be entered for the use of a FTP command.

I want that when the user type his password in the command that his password will not been visible on the screen.

Is there somebody that can help me ?

Thanks for your answer and time.

Devriendt Nico
 
Looking at the source code for the system default signon screen , mine is in qgpl/qddssrc(qdsignon), the password field is defined as follows:

A 01 07 17'Password . . . .
A 01 PASSWRD 10 I 07 53
A DSPATR(ND)

Note the 'I' for input, and the DSPATR(ND).


T. Bishop
 
On a user-written command (as opposed to a program with a dsiplay file), use the DSPINPUT(*NO) keyword. The password won't even show up in the job log, and if someonr retrieves the command using F9, they have to re-type the password.


[tt]PARM KWD(RMTPWD) TYPE(*NAME) LEN(10) MIN(1) +
DSPINPUT(*NO) CHOICE('Remote Password')[/tt]


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Thanks it works like I want it with the
option DSPINPUT(*NO).

Nico Devriendt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top