home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 3922 < prev    next >
Encoding:
Text File  |  1992-08-27  |  5.1 KB  |  125 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Subject: (no subject given)
  3. Path: sparky!uunet!paladin.american.edu!auvm!BINGVMB.BITNET!LJONES
  4. Message-ID: <SAS-L%92082710501605@UGA.CC.UGA.EDU>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Thu, 27 Aug 1992 10:13:15 ECT
  7. Reply-To:     Lary Jones <LJONES@BINGVMB.BITNET>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. Comments:     Resent-From: Lary Jones <LJONES@BINGVMB>
  10. Comments:     Originally-From: FINGGRX@BINGVMB
  11. From:         Lary Jones <LJONES@BINGVMB.BITNET>
  12. Lines: 111
  13.  
  14. Subj:  "Domain Error" in Proc Means
  15. Pltfm: IBM MVS/ESA
  16. Ver:   6.07
  17. Name:  Lary Jones, Binghamton University
  18. Addr:  LJones@BingVMB.Bitnet
  19.  
  20. A user has forwarded the following error. I will be checking his data
  21. file, but am curious as to what would cause a domain error when
  22. requesting the N, Mean, Min, and Max in PROC MEANS. Note that no
  23. variable specification was provided. PROC MEANS listed statistics for
  24. 50 of the 67 variables (actually, the MAX value for the 50th variable
  25. is missing). I don't know about the synchronization of printing from
  26. SAS, so the 50th variable may not be the problem.
  27.  
  28. Any ideas?
  29.  
  30. Thanks,
  31. Lary Jones
  32. ----------------------------Original message----------------------------
  33. Lary what is a Domain error?  I run a program
  34. and gave me CODE=1008 and a message on Domain error.
  35.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. 2 The SAS System                       23:50 Wednesday, August 26, 1992
  37.  
  38. 19         DATA ONE;
  39. 20            SET IN1.YEAR91B;
  40. 21
  41. 22           *  ===============================================================
  42. 23
  43. 24                some variables in this file:
  44. 25                CUSIP MC
  45. 26               FNPM FOPM FROE FSIZE FTOTA FSALES FDE FCUR FEMP FAS FLABOR
  46. 27               FROA FRD FVOL YEAR FEMP FTAX FPB
  47. 28
  48. 29               The file created with YEAR90-B does not contain industry avg
  49. 30              ===============================================================;
  50. 31
  51. 32                CUSIP1 = SUBSTR(CUSIP,1,6);
  52. 33
  53.  
  54. NOTE: The data set WORK.ONE has 35 observations and 67 variables.
  55. NOTE: The DATA statement used 0.07 CPU seconds and 3725K.
  56.  
  57. 34                PROC MEANS N MEAN MIN MAX;
  58. 35
  59.  
  60. ERROR: Domain error.
  61. NOTE: The SAS System stopped processing this step because of errors.
  62. NOTE: The PROCEDURE MEANS printed page 1.
  63. NOTE: The PROCEDURE MEANS used 0.03 CPU seconds and 3855K.
  64.  
  65.      ... stuff omitted ...
  66.  
  67. ERROR: Errors printed on page 2.
  68. ERROR: Errors printed on page 2.
  69. ERROR: Errors printed on page 2.
  70.  
  71. NOTE: The SAS session used 1.45 CPU seconds and 4874K.
  72. NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
  73. The SAS System
  74. 1
  75.  
  76. 23:50 Wednesday, August 26, 1992
  77.  
  78. Variable   N          Mean       Minimum       Maximum
  79. ------------------------------------------------------
  80. SIC       35       3025.71       2000.00       5100.00
  81. YEAR      35    91.0000000    91.0000000    91.0000000
  82. _TYPE_    35             0             0             0
  83. _FREQ_    35    76.0000000     2.0000000   190.0000000
  84. INPM      35     0.0259749    -0.0178447     0.0623740
  85. IOPM      35     0.1096381     0.0566147     0.1689877
  86. IROE      35     0.0659738    -0.1159538     0.1747821
  87. IPB       35     3.1022318     1.3913087     6.2394749
  88. ILABOR    29     0.2318182     0.0877276     0.3450548
  89. IDE       35     0.7024972     0.2706734     3.2085682
  90. ICUR      35     2.1841490     1.2837058     3.4514887
  91. IROA      35    -0.0070729    -0.3713400     0.0628142
  92. ISIZE     35     6.9456276     5.1687254     8.5703671
  93. IVOL      35     0.5804091     0.2469410     0.8664954
  94. IEMP      35     0.0071079     0.0025442     0.0146899
  95. ITAX      35   0.000980751   0.000271344     0.0036828
  96. IAS       35     0.0762157     0.0061781     0.2856374
  97. IRD       33     0.0348015     0.0068906     0.0811329
  98. ISIC      35       3025.71       2000.00       5100.00
  99. IYEAR     35    91.0000000    91.0000000    91.0000000
  100. TT        35     1.0000000     1.0000000     1.0000000
  101. NN        35    40.0000000     2.0000000   103.0000000
  102. DNUM      35       3056.91       2000.00       5150.00
  103. CIC       35   115.6000000   100.0000000   302.0000000
  104. REC       35     1.0000000     1.0000000     1.0000000
  105. FIRSTYR   35    91.0000000    91.0000000    91.0000000
  106. CA        31       2241.16   232.8809967      12401.00
  107. CL        32       4978.14   157.3269958     102611.00
  108. FTOTA     33      11113.53   326.7019043     168259.00
  109. LTD       33       1910.55     7.1789999      22682.00
  110. SALES     33       8422.19   324.0000000      59379.00
  111. OIBD      33       1388.29     9.7920074      15887.00
  112. DEP       33   382.6426558    11.3809996       2832.00
  113. INT       33   373.3513873     5.2500000       7504.00
  114. NI        33   403.4777124  -767.0000000       4435.00
  115. FPRICE    35    48.7580340     3.1250000   166.5000000
  116. SHARES    33   162.2268173     6.6129999   864.1218262
  117. FTRADE    35    86.0806177     0.0198000   489.2558594
  118. EMPLOY    33    44.2929350     3.2999992   338.0000000
  119. INTANG    27   877.6958047             0       9809.00
  120. LABOR     10       1388.54   435.6999512       3051.00
  121. RD        25   232.7538208    13.3079996       1402.00
  122. RENTAL    27   134.5259213     5.5999994       1108.00
  123. CE        33       2912.16    62.2929840      21683.00
  124. RENTAL2   35             0             0
  125.