Frequently Asked Questions about SAS

General SAS Questions | SAS for Windows 3.x, 95, 98, NT | SAS for Macintosh | PC SAS | SAS on Unix | Sas Enterprise Guide

---

Many of these FAQs are provided courtesy of the University of Texas Statistical Services. If you follow a link to one of their pages, please make sure not to direct email queries to the email address found on those pages which points to the University of Texas. Please refer all questions about st atistical computing software to res-consult@virginia.edu.

In addition to the FAQs found on this page, you might also want to visit the extensive set of SAS FAQs maintained by SAS itself.

    General SAS Questions

  1. Outputting values to raw data file using SAS
  2. Reading Adjacent Year, Month, and Day values using SAS
  3. Inputting a Data file with record length > 80 using SAS
  4. Outputting tab or comma delimited data using SAS
  5. Removing duplicate observations in a SAS dataset
  6. SAS Linesize option
  7. Catching data entry errors with SAS
  8. Creating a counter variable in SAS
  9. SAS chi-square test of indepdence and the phi coefficient
  10. Computing a Kappa statistic using SAS
  11. What is the SAS version 6 equivalent of PROC SIMNLIN?
  12. Using the SAS KEEP & DROP Statements
  13. Fix for VMS SAS Transport files
  14. Percentile ranks with SAS
  15. SAS/GRAPH scatter plots of predicted values
  16. Selection of a random subset of data in SAS
  17. Formatting dates for output in SAS
  18. SAS error codes
  19. File relationships in SAS
  20. Plot size settings in PROC PLOT
  21. Variable labels in SAS
  22. Summing variables with missing data in SAS
  23. Data as percentages in SAS
  24. Appending mean values to each observation in SAS
  25. Confirmatory factor analysis using SAS
  26. Pagesize option in SAS
  27. Plotting a regression line using SAS/GRAPH
  28. Internal consistency statistics using SAS
  29. Missing F-ratios and P-values in SAS GLM ANOVA
  30. Transfer of SAS datasets
  31. Uncompressing .Z files within SAS
  32. SAS missing values
  33. Reading hierarchical raw data files
  34. Using SAS Macro Language
  35. Jacknife regression using SAS
  36. Reading in a subset of cases in SAS
  37. Reading variable-length character strings into SAS
  38. Testing homogeneity of cell covariance matrices with SAS
  39. Special characters in SAS variable name
  40. Repeated measures ANOVA with SAS PROC GLM
  41. Hierarchical Regression Using SAS
  42. Identifying nonmatches in a SAS match MERGE
  43. Stepping through a SAS program to debug it
  44. Confidence intervals for cross-tabulated frequencies in SAS
  45. One-way ANOVA from summary statistics
  46. Overlaid lines in SAS/GRAPH
  47. Superimposed SAS/GRAPH plot
  48. PC SAS/GRAPH device names
  49. Printing color output from SAS/GRAPH
  50. SAS test of marginal homogeneity
  51. Debugging SAS code
  52. Removing centering and header information
  53. Mean substitution using SAS
  54. Placement of IF statements in SAS
  55. Counting occurrences of patterns in SAS character-valued data
  56. SAS cell chi-square test
  57. Overlay of histogram with Normal probability plot using SAS
  58. Reading compressed SAS transport files
  59. Replacing missing data from a second file
  60. Using an array in SAS to detect missing values
  61. Customizing PROC PRINT output in SAS
  62. Generating random numbers with SAS
  63. Recoding variable values into missing values in SAS
  64. Three dimensional plotting with SAS
  65. Using the POINT and NOBS options with the SAS SET statement
  66. Displaying SAS output in Word
  67. One-to-many dataset merging with SAS
  68. Changing SAS output delimiter
  69. Generating design matrices in SAS
  70. SAS output of greater than 132 columns
  71. Formatting SAS data
  72. Computing an Intraclass Correlation using SAS
  73. Inputting missing data using SAS
  74. Counting if a condition is satisfied
  75. Duplicating observations using SAS
  76. Creating a lead or lag variable using SAS
  77. Combining multiple lines into one using SAS
  78. Testing equality of slopes for two repeated measures variables in SAS
  79. Numbers and a ruler in the SAS program editor
  80. Reading comma-delimited data using SAS
  81. Converting SAS multivariate repeated measures data to univariate format
  82. Updating the SAS System license
  83. SAS out of memory
  84. Creating a SAS data set from an Ascii File
  85. Reverse scoring survey items using SAS
  86. Contrast coding using PROC MIXED
  87. Extracting cases with a given string from SAS
  88. How can I read multiple values per line as one variable per case?

    return to top

    SAS for Windows 3.x, 95, 98, NT

  89. Installing SAS crashes my Windows95 system
  90. Reading Excel files using SAS under Windows95

    return to top

    SAS for Macintosh

  91. Difficulties updating my license for SAS 6.12 for Macintosh
  92. Excel to SAS Conversion for Macintosh
  93. SAS FAQ SAS license updates for Macintosh
  94. SAS FAQ on SAS and Macintosh OS X

    return to top

    PC SAS

  95. I did some analyses interactively in PC SAS, and everything worked fine, but when I got out, there were no .LOG or .LST files and my commands were not saved either. What happened to th em?
  96. I want to print out my results in PC SAS, but I can't find a PRINT command? How do I print in PC SAS?
  97. If I run a SAS file non-interactively I do not need to have a RUN; statement after each command. When I tried this in the interactive SAS I didn't get output for the last command.
  98. How can I convert a DBase file into SAS?
  99. How can I create an export file in PC SAS?
  100. How can I import a SAS transport data set in PC SAS?
  101. How can I import an SPSS transport file into SAS?
  102. How can I import an SPSS export file into SAS?

    return to top

    SAS on Unix

  103. Where is the default work directory?
  104. How can I redirect the work files to a directory of my choice?
  105. I am trying to read or write a SAS permanent dataset to my /archive account (the mass storage device) but keep getting the error:
       If you're reading a SAS dataset in the /archive directories:
       "ERROR: READ lock is not available for LIBNAME.MEMBERNAME.DATA, 
       lock held by unknown process." 
    
       OR 
    
       if you're trying to write a SAS dataset to a /archive directory:
       "ERROR: WRITE lock is not available for SASLIB.DELETE.DATA, 
       lock held by unknown process."
    
  106. How can I save paper when I print my output? Everytime I print, half of my pages only have 3 or 4 lines.
  107. Running the SAS Display Manager System
  108. SAS System Options in the UNIX environment
  109. Calling SAS macros on UNIX systems
  110. FATAL: Unable to initialize work library on SAS for UNIX

    return to top

    SAS Enterprise Guide

  111. I was able to run the System Requirements Wizard fine, but I'm getting the following errors at the end of the installation:
    ERROR 
    Delay load of library SASECUT4.dll failed with return code 0x0000007e
    The specified module could not be found.
    
    ERROR
    Delay load of library xerces_c_1_5_1.dll failed with return code 0x0000007e
    The specified module could not be found.
    
    PROGRAM ERROR
    SEGTask.exe has generated errors and will be closed by Windows. You will need to restart the program.
    
    
    PROGRAM ERROR
    seguide.exe has generated errors and will be closed by Windows. You will need to restart the program.
    

return to top

---

© 2009 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.