LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 19 Sep 2009 20:52:06 -0400
Reply-To:   Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:   Re: Issue Regarding SAS X12 Model?
Comments:   To: Hans Chen <saschen@GMAIL.COM>

Han,

You didn't mention which version of SAS you are using. Here is a link to the SAS 8 documentation for that procedure and its requirements match the error message you received:

http://support.sas.com/rnd/app/da/new/801ce/ets/chap5/sect6.htm

HTH, Art -------- On Sat, 19 Sep 2009 18:31:50 -0600, Han Chen <saschen@GMAIL.COM> wrote:

>Dear Listers > >Attached please find my X12 model and log. Could you please help fix the >issues inside to make the programming running? Thanks! > >Han Chen >================================================================ >data Count; >input count@@ ; >month = intnx('month','1Jul1998'd,_n_-1) ; >format month yymmdd10. ; >datalines ; >512120 539866 323879 206539 210805 224957 190984 206227 229770 283933 370180 >428822 724675 531423 282590 251708 222655 234922 180316 225340 269849 298611 >378608 383853 534533 506123 299371 221932 161498 194287 174983 164032 209285 >255125 372356 396496 512111 404243 300123 221932 161498 195292 182974 171984 >208714 238112 381171 382792 512021 506276 301072 224652 169112 196365 182625 >168231 198217 266047 388689 390000 497327 462159 233866 212808 169622 186761 >154902 168231 198217 217646 276887 291279 396841 333695 270000 190000 165727 >189000 165507 197486 202832 239451 276877 373597 448032 376403 271026 190000 >144866 205384 194931 171128 192235 249488 264218 343000 477603 404598 259858 >174524 134870 210843 171098 165000 148000 244213 283214 355646 445758 406827 >253933 183127 147000 207584 193000 205442 189860 233892 287263 342144 431370 >374343 232542 176446 150000 183654 202700 195613 171542 218889 272513 300730 >391720 335182 >; >run ; >ods select X12.ModelEstimation.AutoModel.UnitRootTestModel >X12.ModelEstimation.AutoModel.UnitRootTest >X12.ModelEstimation.AutoModel.AutoChoiceModel >X12.ModelEstimation.AutoModel.Best5Model >X12.ModelEstimation.AutoModel.AutomaticModelChoice >X12.ModelEstimation.AutoModel.FinalModelChoice >X12.ModelEstimation.AutoModel.AutomdlNote; >proc x12 data=Count; >var count; >transform function=log; >regression predefined=td; >automdl print=unitroottest unitroottestmdl autochoicemdl best5model; >estimate; >X11; >output out=out a1 a2 a6 b1 c17 c20 d1 d7 d8 d9 d10 >d11 d12 d13 d16 d18; >run; >===================================================== >105 data Doorcount; >106 input doorcount@@ ; >107 month = intnx('month','1Jul1998'd,_n_-1) ; >108 format month yymmdd10. ; >109 datalines ; >NOTE: SAS went to a new line when INPUT statement reached past the end of a >line. >NOTE: The data set WORK.DOORCOUNT has 134 observations and 2 variables. >NOTE: DATA statement used (Total process time): > real time 0.00 seconds > cpu time 0.00 seconds > >123 ; >124 run ; >125 ods select X12.ModelEstimation.AutoModel.UnitRootTestModel >126 X12.ModelEstimation.AutoModel.UnitRootTest >127 X12.ModelEstimation.AutoModel.AutoChoiceModel >128 X12.ModelEstimation.AutoModel.Best5Model >129 X12.ModelEstimation.AutoModel.AutomaticModelChoice >130 X12.ModelEstimation.AutoModel.FinalModelChoice >131 X12.ModelEstimation.AutoModel.AutomdlNote; >132 proc x12 data=Doorcount; > - > 22 > 76 >ERROR 22-322: Syntax error, expecting one of the following: (, DATA, DATE, >DATEVAR, INTERVAL, > NOPRINT, NOTRIMMISS, SEASONS, SPAN, START, STARTDATE. >ERROR 76-322: Syntax error, statement will be ignored. >133 var doorcount; >134 transform function=log; >135 regression predefined=td; >136 automdl print=unitroottest unitroottestmdl autochoicemdl best5model; >137 estimate; >138 X11; >139 output out=out a1 a2 a6 b1 c17 c20 d1 d7 d8 d9 d10 >140 d11 d12 d13 d16 d18; >141 run; >NOTE: The SAS System stopped processing this step because of errors. >WARNING: The data set WORK.OUT may be incomplete. When this step was >stopped there were 0 > observations and 0 variables. >WARNING: Data set WORK.OUT was not replaced because this step was stopped. >NOTE: PROCEDURE X12 used (Total process time): > real time 0.01 seconds > cpu time 0.01 seconds >WARNING: Output 'X12.ModelEstimation.AutoModel.AutomdlNote' was not >created. Make sure that the > output object name, label, or path is spelled correctly. Also, >verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.FinalModelChoice' was not >created. Make sure that > the output object name, label, or path is spelled correctly. Also, >verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.AutomaticModelChoice' was not >created. Make sure > that the output object name, label, or path is spelled correctly. >Also, verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.Best5Model' was not created. >Make sure that the > output object name, label, or path is spelled correctly. Also, >verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.AutoChoiceModel' was not >created. Make sure that > the output object name, label, or path is spelled correctly. Also, >verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.UnitRootTest' was not >created. Make sure that the > output object name, label, or path is spelled correctly. Also, >verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used. >WARNING: Output 'X12.ModelEstimation.AutoModel.UnitRootTestModel' was not >created. Make sure > that the output object name, label, or path is spelled correctly. >Also, verify that the > appropriate procedure options are used to produce the requested >output object. For > example, verify that the NOPRINT option is not used.


Back to: Top of message | Previous page | Main SAS-L page