Hi,
I have one account number for every account number this length should be checked.for this i wrote
fldlen = strln(account number).
next i want this account number format like 'XXXXXXX1234'.
I.E.after length checking if that account number is 10 digits then first 6 digits as X's and remaining 4 digits as number.
Can any one give me the idea.
Hi,
fldlen = strlen(accountnumber).
IF fldlen = 10.
CONCATENATE 'XXXXXX' accountnumber+6(4) INTO accountnumber.
ELSE.
ENDIF.
Hope this helps you.
Reward points if this solves ur problem.
Add a comment