Help using Base SAS procedures

Fill a camp

Reply
N/A
Posts: 0

Fill a camp

How can I fill a field with characters '0' by the left?

If my field contains the string "123" and its length is 5, I want it to contain the string "00123"....I can´t use the instruction LPAD in SQL...
N/A
Posts: 0

Re: Fill a camp

It's call the "Zw.d" format.

You can get to the SAS documentation for SAS 8, 9.1.x and 9.2 off the web. within the documentation, look for BaseSAS, Language Dictionary, Formats.
Ask a Question
Discussion stats
  • 1 reply
  • 107 views
  • 0 likes
  • 1 in conversation