• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 903
  • Last Modified:

Transposing variables in an input file in SAS that do not have numeric suffix

I have a group of fields in a SAS input dataset.  When trying to transpose the fields I get an error message that the fields do not have a numeric suffix.  The fields are concatenated one next to the other. I have 33 fields in total.  What is the most efficient way to transpose these fields. An example of the names are p_q2a p_q2b p_q2c etc.
0
morinia
Asked:
morinia
1 Solution
 
tobey1Commented:
Can you share your Transpose logic and the exact error message from SAS?

You can also look at these PROC TRANSPOSE samples:
http://www.ats.ucla.edu/stat/SAS/modules/ltow_transpose.htm
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now