Before going about reshaping the data you might describe just how you intend to use the resulting data set.
There may be better ways to reshape it based on intended use.
Have you created a SAS dataset?
Are the variable names as you show the column headings? I ask because by default SAS will not like space or / characters in variable names.
Something like this should work but again, how your actually intend to use the data this may not be the best case.
data want;
set have;
array v(30) $ 5;
do i=1 to countw(in);
pos=input(scan(in,i),2.);
v[pos]='IN';
end;
do i=1 to countw(out);
pos=input(scan(out,i),2.);
v[pos]='OUT';
end;
do i=1 to countw(n_a); /*what ever the actual name of the N/A becomes*/
pos=input(scan(n_a,i),2.);
v[pos]='N/A';
end;
do i=1 to countw(n_o); /* same note about variable name*/
pos=input(scan(n_o,i),2.);
v[pos]='N/O';
end;
keep uniqueid v: ;
run;