Build routine clear password
- kda
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 603
- Thank you received: 3
15 years 2 months ago #4864
by kda
Build routine clear password was created by kda
Dear all,
have any one help me to build routine to clear sign on's password. Bec we have many sign on to clear.
Thanks
have any one help me to build routine to clear sign on's password. Bec we have many sign on to clear.
Thanks
Please Log in or Create an account to join the conversation.
- sridhar.reddy
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 1
15 years 2 months ago #4866
by sridhar.reddy
Replied by sridhar.reddy on topic Re:Build routine clear password
Hi, Can you clearly explain me wat exactly your Requirment is.. Do u want to delete the password of particular user who sign's in current or you want to delete password of all user.
Please Log in or Create an account to join the conversation.
- sridhar.reddy
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 1
15 years 2 months ago #4868
by sridhar.reddy
Replied by sridhar.reddy on topic Re:Build routine clear password
Wat i understood from your question is u need to delete(clear) the password of all users in your data base. For tat here is the routine.
PROGRAM USER1.RTN
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.USER
F.USER = 'F.USER'
F.V = ''
CALL OPF(F.USER,F.V)
SEL = "SELECT ":F.USER
CALL EB.READLIST(SEL,SEL.LIST,'',SEL.CNT,ERR)
LOOP
REMOVE U.ID FROM SEL.LIST SETTING POS
WHILE POS:U.ID
READ R.REC FROM F.V,U.ID THEN
R.REC<33> = ''
WRITE R.REC TO F.V,U.ID
END
REPEAT
RETURN
END
PROGRAM USER1.RTN
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.USER
F.USER = 'F.USER'
F.V = ''
CALL OPF(F.USER,F.V)
SEL = "SELECT ":F.USER
CALL EB.READLIST(SEL,SEL.LIST,'',SEL.CNT,ERR)
LOOP
REMOVE U.ID FROM SEL.LIST SETTING POS
WHILE POS:U.ID
READ R.REC FROM F.V,U.ID THEN
R.REC<33> = ''
WRITE R.REC TO F.V,U.ID
END
REPEAT
RETURN
END
Please Log in or Create an account to join the conversation.
- kda
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 603
- Thank you received: 3
15 years 2 months ago #4879
by kda
Replied by kda on topic Re:Build routine clear password
Thanks Sridhar
Please Log in or Create an account to join the conversation.
Time to create page: 0.033 seconds