Okay, corrected the code and submitted it. There weren't any errors or warnings in the log.
Perhaps your question is about how to NAME your format?
FORMAT names cannot end in a digit as that would be too confusing because a format reference specifies the length in the using the trailing digits. DATE9. for example. So a format reference of ME2. means to use the format named ME and display using 2 character positions.
Note that the name you use for your FORMAT has nothing to do with the name of the VARIABLE. It desribes the FORMAT itself.
So if you have variables named ME1 and ME2 and they both use the same sets of possible values then you could create a single format named ME or MEF and use it for both variables. If they use different sets of possible vlaues then could create formats named ME1F and ME2F.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.