I came across put (-all-) (=) statement can you please help with this with an example.
Also list of commands with put.
data _null_ ;
set sashelp.class ;
put ( _all_ ) (=) ;
It is an example of a FORMATTED PUT STATEMENT and also a VARIABLE LIST. For more information read the documentaton on the PUT STATEMENT.