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
Answer Posted / abhishek bajpai
Hi All,
Quite hectic to snd t code to evry1 so copying it below.You
can add to the below code to verify the pwd etc. based on
ur requirement.
DSPF:
A DSPSIZ(24 80 *DS3)
A R REC1
A FLD1 10A O 7 3
A FLD001 1 B 5 3CHECK(ER) DSPATR(ND)
PGM:
fTest15 cf e workstn
/free
dow %Len(%Trim(fld1)) < 10;
Exfmt rec1;
If fld001 <> *Blanks;
fld1 = %Trim(fld1) + '*';
endif;
enddo;
*Inlr = *on;
/end-free
Thnx
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
what is rpg fixed logic cycle?
which are the member types which seu supports?
how you will find an error which is not in the first page of the subfile without using rolldown key?
A join logical file has how many record formats?
what is overlay?
what is match field indicator?
what opcode will be used to test the zone of a character field?
what does opcode post do ?
what is sflrolval?
how do you read data area in an rpg program?
Space & Skip Are Which Level Keywords?
what is the function of crtdupobj command?
how many files can be defined in f specs?
what is message file?