The VAR statement and the ID statement together select the variables to include in the report. The ID statement and the BY statement produce the special format.
id jobcode; by jobcode; var gender salary;