The RETAIN statement allows SAS to access the previous observation when processing the current observation. Given that SAS' built-in loop normally prevents such access, knowing the RETAIN statement and how to use it is very important.
This video covers essential course content, so you should definitely watch it.