I need to write a sort card to perform the following operation:
In the input file , i have to determine the account number length (one of the fields in the input file). Depending upon the length , i have to create the output files.
Ex: Account no is in field 10 to 20 . Account nos can be varying form 1 till 11.
Depending upon the length , i have to mask the account nos in such a way that the last 4 numbers alone are visible. If the account no length is between 1 to 4, i must not mask.