Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is the maximum number of record formats in dspf?

1686


can a join logical file be updated?

1018


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

1108


how to define to define a hidden filed in dspf ?

1334


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2564


what is the necessary keyword for non-join logical file?

1828


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2524


Using %check we are checking monika in mona what is output? What is %SCAN?

1668


what would be the effect on the field where reverse image, underline and highlight display attributes were active?

1616


what is the maximum number of parameters allowed in rpg?

1739


How to reverse the string in rpg

1809


what is the difference between sflclr and sflinz?

1766


how do you read data area in an rpg program?

1814


what key word is used when screen is re-display?

1129


What is RETURN CURSER LOCATION in subfile?

1570