How to write a password mask program in as400?
like the password which i type should be displayed
as '*****' r ###### which the user wishes to dispaly
if u could help me with url r the solution in written code
this will help me

Answers were Sorted based on User's Feedback



How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / abhishek bajpai

The above answer is wrong. "EDTMSK" keyword can only
protect certain positions of a field (but can't replace a
character entered by the user).
To do this...

Say the actual field is PASSWD which you want to mask.
Create one more field say XYZ of attributes 1A in non
display mode(DSPATR(ND)) with CHECK(ER)keyword. Ur cursor
will remian on this field. Keep the actual field PASSWD as
protected.
Now, what will happen here is, when u enter any character
in XYZ, due to CHECK(ER) keyword the control will go back
to the program and then u can populate field PASSWD with
an '*' inside it and EXFMT the display file again with
blank XYZ and PASSWD with a '*'. Do this inside a loop.
Then in the end you can validate the actual password
entered when the user presses ENTER key. The PASSWD field
here is just to display the number of '*' as the number of
characters entered by the user as a password.

Quite long.
If u haven't understood I can send u the actual code. I
have done it previously for a client.

Abhishek

Is This Answer Correct ?    5 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / nirmal khatri

Hello Abhishek.

Please send code to nirmal_ec1984@indiatimes.com

Thank you in advance.

Is This Answer Correct ?    1 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / bhaskar

Hello Abhishek.

Please send code to bhaskar582@gmail.com

Thank you in advance.

Is This Answer Correct ?    1 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / avinash

Hi Abhishek, Please send me the code to
avinash.8385@gmail.com.

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / ankur jain

Hello Abhishek,

Please send me the same code at 21ankur@gmail.com

Thanks in Advance..
Ankur

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / ajeet

Hi Abhishek,

Please send me the same code at ajeet.sri@gmail.com

Thanks,
Ajeet

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / nirmal

Has anyone got that. Then please send it to
nirmal_ec1984@rediffmail.com. Abhishek do you really have that?

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / abhishek bajpai

Hi All,
I checked in here after a real long time.
Will fwd the code to all of u tomorrow morning from my
system...!!

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / abhishek bajpai

Fwded the code to everyone of u...

Is This Answer Correct ?    0 Yes 0 No

How to write a password mask program in as400? like the password which i type should be displayed ..

Answer / nirmal

Abhishek,

I haven't received yet. Please resend it to
nirmalec1984@gmail.com.

Thank you in advance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

0 Answers   IBM,


what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... I want to transfer files(using GET COMMAND) that are retrieved by LS command ...FROM 1 SYSTEM TO ANOTHER... STEP 1:LS-list all files...from remote system STEP 2:GET-actually transfer the files(listed in step 1) from remote system to local system & get stored in some Physical file....Plz reply in detail...Thanx

1 Answers   EDS,


What is library is as400? What are the types of library?

1 Answers  


How can we change the uppercase to Lowercase in RPG?

0 Answers  


What is the maximum number of subfiles that can be specified in a display file?

1 Answers   IBM,






What is the purpose of the following? A CSRLOC (F1ROW F1COL)

1 Answers  


Define a Job Queue?

1 Answers  


How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?

1 Answers   IBM, Ignis Technologies, SSR,


how to handle job errors in as400 what is the command and where can we find out whether the job has any errors

2 Answers   Virtusa,


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

1 Answers   Wipro,


what is sflpag and sflsiz ?

2 Answers   IBM,


what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?

8 Answers   Wipro,


Categories