04-20-2017 03:19 PM
For all intents in purposes in your example it does nothing. If there is no output statement in a data step one is assumed at the bottom of the code.
You could test this by creating a small example input data set and running the code both with and without the output.
Output is executeable. It will write the current state of the data vector to an output data set. So if you have multiple output statements you may generate multiple records from a single input record.
Also you may specify the name of a data set that appears on the DATA statement (data setone settwo; specifies two data sets for example) to indicate which data set(s) get the data.
Need further help from the community? Please ask a new question.