Hello, I can not use this code in my SAS (9.4 TS Level 1M1) It gives an error by the…