Learning SAS? Welcome to the exclusive online community for all SAS learners.

ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

Reply
Occasional Contributor
Posts: 14

ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

Hi there,


I am running the DISTRIB macro from the National Cancer Institute. It is used to estimate the usually dietary intake of foods or nutrients. I first had to run the MIXTRAN macro which provides estimates of covariate. I was able to run this one successfully. The results from MIXTRAN are used to run the DISTRIB macro.


When I try and run the DISTRIB macro after I keep getting the error message "ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant,  a missing value, INPUT, PUT.".


I am not sure what to do next??


Below is the code used and the log.


Any help is greatly appreciated! Thanks!


Code used:

libname kenyaD '/folders/myfolders/';

%include "/folders/myfolders/mixtran_macro_v2.1.sas";

ods graphics off;

Options symbolgen mlogic mprint mfile;

%MIXTRAN(data=kenyad.kcamin, response=CA, foodtype=CA, subject=ID, repeat=visitno,  covars_amt=sex agey, covars_prob=, outlib=kenyaD, modeltype=amount, lambda=, replicate_var=, seq=, weekend=, vargroup=, numvargroups=, start_val1=, start_val2=, start_val3=, vcontrol=, nloptions=, titles=, printlevel=,subgroup=);


libname kenyaD '/folders/myfolders/';

%include "/folders/myfolders/distrib_macro_v2.1.sas";

%DISTRIB (call_type=full, modeltype=amount, outlib=kenyaD, subject=ID, mcsimda=, pred=kenyad._PRED_UNC_CA, param=kenyad._PARAM_UNC_CA, seed=0, nsim_mc=, food=, byvar=, cutpoints= 800 2500, ncutpnt= 2, wkend_prop=, add_da=, subgroup=, recamt=, recamt_co=, recamt_hi=, titles=);


LOG :


1 OPTIONS NOSYNTAXCHECK;

2 TITLE;

3 FOOTNOTE;

4 OPTIONS LOCALE=en_US DFLANG=LOCALE;

5 DATA _NULL_;

6 RUN;

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

7 OPTIONS VALIDVARNAME=V7;

8 FILENAME _HTMLOUT TEMP;

9 FILENAME _RTFOUT TEMP ENCODING='UTF-8';

10 FILENAME _PDFOUT TEMP;

11 FILENAME _GSFNAME TEMP;

12 FILENAME _DATAOUT TEMP;

13 %LET SYSCC=0;

14 %LET _CLIENTAPP=SAS Studio;

15 %LET _CLIENTAPPVERSION=3.4;

16 %LET _SASPROGRAMFILE = %BQUOTE();

17 %LET _BASEURL = %BQUOTE(http://localhost:10080/SASStudio/);

18 %LET _EXECENV=SASStudio;

19 DATA _NULL_;

20 CALL SYMPUT("GRAPHINIT","");

21 CALL SYMPUT("GRAPHTERM","");

22 RC=TSLVL('GEOCODE','N');

23 _ERROR_=0;

24 IF (RC^=' ') THEN DO;

25 CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");

26 CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");

27 END;

28 RUN;

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

29 DATA _NULL_;

30 RC=SYSPROD("PRODNUM002");

31 IF (RC^=1) THEN DO;

32 CALL SYMPUT("GRAPHINIT","");

33 CALL SYMPUT("GRAPHTERM","");

34 END;

35 RUN;

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

36 %LET _DATAOUT_MIME_TYPE=;

37 %LET _DATAOUT_NAME=;

38 %LET _DATAOUT_TABLE=;

39 %LET _DATAOUT_URL=;

40 %SYMDEL _DATAOUT_MIME_TYPE _DATAOUT_NAME _DATAOUT_URL _DATAOUT_TABLE;

41 %LET _SASWS_ = %BQUOTE(/folders/myfolders);

42 %LET _SASWSTEMP_=%BQUOTE(/folders/myfolders/.images/dd7767ba-557f-40b3-917c-988087179594);

43 ODS LISTING CLOSE;

44 OPTIONS PRINTERPATH=PDF;

45 ODS AUTONAVIGATE OFF;

46 ODS GRAPHICS ON;

47 ODS HTML5 (ID=WEB) DEVICE=PNG GPATH="&_SASWSTEMP_" ENCODING=utf8 FILE=_HTMLOUT (TITLE='Results: Program 1')

47 ! STYLE=Htmlblue OPTIONS(BITMAP_MODE='INLINE' SVG_MODE='INLINE' CSS_PREFIX='.ods_dd7767ba-557f-40b3-917c-988087179594'

47 ! BODY_ID='div_dd7767ba-557f-40b3-917c-988087179594' );

SYMBOLGEN: Macro variable _SASWSTEMP_ resolves to /folders/myfolders/.images/dd7767ba-557f-40b3-917c-988087179594

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

NOTE: Writing HTML5(WEB) Body file: _HTMLOUT

48 ODS RTF (ID=WEB) STYLE=Rtf FILE=_RTFOUT;

NOTE: Writing RTF Body file: _RTFOUT

49 ODS PDF (ID=WEB) STYLE=Pearl FILE=_PDFOUT;

NOTE: Writing ODS PDF(WEB) output to DISK destination "_PDFOUT", printer "PDF".

SYMBOLGEN: Macro variable GRAPHINIT resolves to

50 &GRAPHINIT;

51 OPTIONS FIRSTOBS=1;

52 OPTIONS OBS=MAX;

53 OPTIONS DTRESET DATE NUMBER NOTES;

54 %put %bquote(NOTE: ODS statements in the SAS Studio environment may disable some output features.);

NOTE: ODS statements in the SAS Studio environment may disable some output features.

55 OPTIONS NOSYNTAXCHECK;

56

57 libname kenyaD '/folders/myfolders/';

NOTE: Libref KENYAD was successfully assigned as follows:

Engine:        V9

Physical Name: /folders/myfolders

58

59 %include "/folders/myfolders/mixtran_macro_v2.1.sas";

2191

2192

2193 ods graphics off;

2194

2195 Options symbolgen mlogic mprint mfile;

2196

2197 %MIXTRAN(data=kenyad.kcamin, response=CA, foodtype=CA, subject=ID, repeat=visitno,  covars_amt=sex agey, covars_prob=,

MLOGIC(MIXTRAN):  Beginning execution.

2198 outlib=kenyaD, modeltype=amount, lambda=, replicate_var=, seq=, weekend=, vargroup=,

2199 numvargroups=, start_val1=, start_val2=, start_val3=, vcontrol=,

2200 nloptions=, titles=, printlevel=,subgroup=);

MLOGIC(MIXTRAN):  Parameter DATA has value kenyad.kcamin

MLOGIC(MIXTRAN):  Parameter RESPONSE has value CA

MLOGIC(MIXTRAN):  Parameter FOODTYPE has value CA

MLOGIC(MIXTRAN):  Parameter SUBJECT has value ID

MLOGIC(MIXTRAN):  Parameter REPEAT has value visitno

MLOGIC(MIXTRAN):  Parameter COVARS_AMT has value sex agey

MLOGIC(MIXTRAN):  Parameter COVARS_PROB has value

MLOGIC(MIXTRAN):  Parameter OUTLIB has value kenyaD

MLOGIC(MIXTRAN):  Parameter MODELTYPE has value amount

MLOGIC(MIXTRAN):  Parameter LAMBDA has value

MLOGIC(MIXTRAN):  Parameter REPLICATE_VAR has value

MLOGIC(MIXTRAN):  Parameter SEQ has value

MLOGIC(MIXTRAN):  Parameter WEEKEND has value

MLOGIC(MIXTRAN):  Parameter VARGROUP has value

MLOGIC(MIXTRAN):  Parameter NUMVARGROUPS has value

MLOGIC(MIXTRAN):  Parameter START_VAL1 has value

MLOGIC(MIXTRAN):  Parameter START_VAL2 has value

MLOGIC(MIXTRAN):  Parameter START_VAL3 has value

MLOGIC(MIXTRAN):  Parameter VCONTROL has value

MLOGIC(MIXTRAN):  Parameter NLOPTIONS has value

MLOGIC(MIXTRAN):  Parameter TITLES has value

MLOGIC(MIXTRAN):  Parameter PRINTLEVEL has value

MLOGIC(MIXTRAN):  Parameter SUBGROUP has value

MPRINT(MIXTRAN): ********************************************************;

WARNING: No logical assign for filename MPRINT.

NOTE: To store macro generated text in an external file, assign the filename MPRINT to a valid external file. To attempt to access

this macro debugging feature again, reset OPTION MFILE.

MLOGIC(MIXTRAN):  %LET (variable name is VAR_U1START)

MPRINT(MIXTRAN): *************************************************************************;

MPRINT(MIXTRAN):   ** setup ;

MPRINT(MIXTRAN): *************************************************************************;

MLOGIC(MIXTRAN):  %LET (variable name is SUCCESS)

MLOGIC(MIXTRAN):  %LET (variable name is CONVFLAG)

MPRINT(MIXTRAN):   ** IMS Specific ;

MLOGIC(MIXTRAN):  %LET (variable name is FAILED)

MPRINT(MIXTRAN):   ** END OF IMS SPECIFIC;

MLOGIC(MIXTRAN):  %LET (variable name is MODELTYPE)

SYMBOLGEN: Macro variable MODELTYPE resolves to amount

MLOGIC(MIXTRAN):  %LET (variable name is NUMVGMINUS1)

SYMBOLGEN: Macro variable NUMVARGROUPS resolves to

SYMBOLGEN: Macro variable NUMVARGROUPS resolves to

MLOGIC(MIXTRAN):  %IF condition &numvargroups =  is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is NUMVARGROUPS)

MLOGIC(MIXTRAN):  %PUT ## in the MIXTRAN macro:

## in the MIXTRAN macro:

MLOGIC(MIXTRAN):  %PUT ## the response variable is &response

SYMBOLGEN: Macro variable RESPONSE resolves to CA

## the response variable is CA

MLOGIC(MIXTRAN):  %PUT ## the data set being analysed is &data

SYMBOLGEN: Macro variable DATA resolves to kenyad.kcamin

## the data set being analysed is kenyad.kcamin

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition %length(&vcontrol) >6 is FALSE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol ne  is FALSE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

SYMBOLGEN: Macro variable START_VAL1 resolves to

SYMBOLGEN: Macro variable START_VAL2 resolves to

SYMBOLGEN: Macro variable START_VAL3 resolves to

MLOGIC(MIXTRAN):  %IF condition (&start_val1 ne  or &start_val2 ne  or &start_val3 ne ) is FALSE

SYMBOLGEN: Macro variable START_VAL1 resolves to

MLOGIC(MIXTRAN):  %IF condition &start_val1  = is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is START_VAL1)

SYMBOLGEN: Macro variable START_VAL2 resolves to

MLOGIC(MIXTRAN):  %IF condition &start_val2  = is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is START_VAL2)

SYMBOLGEN: Macro variable START_VAL3 resolves to

MLOGIC(MIXTRAN):  %IF condition &start_val3= is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is START_VAL3)

MLOGIC(MIXTRAN):  %LET (variable name is PRINT_ON)

MLOGIC(MIXTRAN):  %LET (variable name is PRINT_OFF)

SYMBOLGEN: Macro variable PRINTLEVEL resolves to

MLOGIC(MIXTRAN):  %IF condition &printlevel=2 is FALSE

SYMBOLGEN: Macro variable PRINTLEVEL resolves to

MLOGIC(MIXTRAN):  %IF condition &printlevel=3 is FALSE

SYMBOLGEN: Macro variable PRINT_OFF resolves to ods exclude all ;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MPRINT(MIXTRAN):   ods exclude all ;

MPRINT(MIXTRAN):   ;

MPRINT(MIXTRAN):   ** ods exclude all;

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to

MLOGIC(MIXTRAN):  %IF condition &replicate_var =  is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is FREQING)

MLOGIC(MIXTRAN):  %LET (variable name is REPLICATE)

MLOGIC(MIXTRAN):  %LET (variable name is REPLICATE_VAR)

SYMBOLGEN: Macro variable TITLES resolves to

MLOGIC(MIXTRAN):  %IF condition &titles =  is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is TITLES)

MLOGIC(MIXTRAN):  %PUT ## number of titles reserved is &titles

SYMBOLGEN: Macro variable TITLES resolves to 0

## number of titles reserved is 0

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype= is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype eq NOCORR is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype eq AMOUNT is TRUE

MLOGIC(MIXTRAN):  %PUT ## Code for amount-only model will be executed

## Code for amount-only model will be executed

SYMBOLGEN: Macro variable LAMBDA resolves to

MLOGIC(MIXTRAN):  %IF condition &lambda eq  is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is LAMBDABOUNDS)

MLOGIC(MIXTRAN):  %PUT ## lambdabounds is: &lambdabounds

SYMBOLGEN: Macro variable LAMBDABOUNDS resolves to bounds A_LAMBDA>0.01;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

## lambdabounds is: bounds A_LAMBDA>0.01;

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(MIXTRAN):  %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable NLOPTIONS resolves to

MLOGIC(MIXTRAN):  %IF condition &nloptions ne  is FALSE

MPRINT(MIXTRAN):   ***** Probability covars *******;

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

MPRINT(MIXTRAN):   ******** Amount covars *********;

MLOGIC(MIXTRAN):  %LET (variable name is VARS_AMT)

SYMBOLGEN: Macro variable COVARS_AMT resolves to sex agey

SYMBOLGEN: Macro variable WEEKEND resolves to

SYMBOLGEN: Macro variable SEQ resolves to

MLOGIC(MIXTRAN):  %PUT ## The Amount Covariates Are:

## The Amount Covariates Are:

MLOGIC(MIXTRAN):  %LET (variable name is I)

MLOGIC(MIXTRAN):  %DO %UNTIL(%qscan(&vars_amt,&I, )=) loop beginning.

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(MIXTRAN):  %LET (variable name is VARL1)

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(MIXTRAN):  %PUT ## &&varl&i

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable I resolves to 1

SYMBOLGEN: Macro variable VARL1 resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

## SEX

MLOGIC(MIXTRAN):  %LET (variable name is I)

SYMBOLGEN: Macro variable I resolves to 1

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

SYMBOLGEN: Macro variable I resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL(%qscan(&vars_amt,&I, )=) condition is FALSE; loop will iterate again.

SYMBOLGEN: Macro variable I resolves to 2

MLOGIC(MIXTRAN):  %LET (variable name is VARL2)

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

SYMBOLGEN: Macro variable I resolves to 2

MLOGIC(MIXTRAN):  %PUT ## &&varl&i

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable I resolves to 2

SYMBOLGEN: Macro variable VARL2 resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

## AGEY

MLOGIC(MIXTRAN):  %LET (variable name is I)

SYMBOLGEN: Macro variable I resolves to 2

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

SYMBOLGEN: Macro variable I resolves to 3

MLOGIC(MIXTRAN):  %DO %UNTIL() condition is TRUE; loop will not iterate again.

MLOGIC(MIXTRAN):  %LET (variable name is CNT_AMT)

SYMBOLGEN: Macro variable I resolves to 3

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

MLOGIC(MIXTRAN):  %IF condition &vars_amt= is FALSE

MLOGIC(MIXTRAN):  %LET (variable name is WEEKEND)

SYMBOLGEN: Macro variable WEEKEND resolves to

MLOGIC(MIXTRAN):  %LET (variable name is SEQ)

SYMBOLGEN: Macro variable SEQ resolves to

SYMBOLGEN: Macro variable WEEKEND resolves to

MLOGIC(MIXTRAN):  %IF condition &weekend ne  is FALSE

MLOGIC(MIXTRAN):  %LET (variable name is PREDXB)

MPRINT(MIXTRAN): ******************************************************************;

MPRINT(MIXTRAN):   data data (drop=wtflag) ;

SYMBOLGEN: Macro variable DATA resolves to kenyad.kcamin

MPRINT(MIXTRAN):   set kenyad.kcamin;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   if CA=0 then YN=0;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   else if CA>0 then YN=1;

MPRINT(MIXTRAN):   *** check that the replicate variable, if supplied, is an integer;

MPRINT(MIXTRAN):   *** If none supplied, then assign the value of 1 to the dummy weight variable;

MPRINT(MIXTRAN):   wtflag = '0';

MLOGIC(MIXTRAN):  %LET (variable name is WTCH)

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %IF condition &replicate_var ne dummywt is FALSE

MPRINT(MIXTRAN):   dummywt=1;

MPRINT(MIXTRAN):   run;

NOTE: There were 873 observations read from the data set KENYAD.KCAMIN.

NOTE: The data set WORK.DATA has 873 observations and 11 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable WTCH resolves to 0

MLOGIC(MIXTRAN):  %IF condition &wtch = 1 is FALSE

MPRINT(MIXTRAN):   proc sort data=data;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPEAT resolves to visitno

MPRINT(MIXTRAN):   by ID visitno;

MPRINT(MIXTRAN):   run;

NOTE: There were 873 observations read from the data set WORK.DATA.

NOTE: The data set WORK.DATA has 873 observations and 11 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

MPRINT(MIXTRAN):   data data0;

MPRINT(MIXTRAN):   set data;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPEAT resolves to visitno

MPRINT(MIXTRAN):   by ID visitno;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   if CA=0 then do;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   CA=.;

MPRINT(MIXTRAN):   end;

MPRINT(MIXTRAN):   run;

NOTE: There were 873 observations read from the data set WORK.DATA.

NOTE: The data set WORK.DATA0 has 873 observations and 11 variables.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype = AMOUNT is TRUE

MPRINT(MIXTRAN):   proc sql;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   UPDATE data0 Set CA=(select min(b.CA)*.5 as minFOOD from data as b where 0<CA) Where CA=. ;

NOTE: 1 row was updated in WORK.DATA0.

MPRINT(MIXTRAN):   quit;

NOTE: PROCEDURE SQL used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

MLOGIC(MIXTRAN):  %LET (variable name is TEMPDA)

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype = AMOUNT is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is TEMPDA)

MPRINT(MIXTRAN):   proc freq data=data0 noprint ;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   where CA gt 0 ;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN:  Macro variable TEMPDA resolves to repeat

MPRINT(MIXTRAN):   tables ID / nopercent out=repeat;

MPRINT(MIXTRAN):   run;

NOTE: There were 873 observations read from the data set WORK.DATA0.

WHERE CA>0;

NOTE: The data set WORK.REPEAT has 727 observations and 3 variables.

NOTE: PROCEDURE FREQ used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   proc sql noprint;

SYMBOLGEN: Macro variable TEMPDA resolves to repeat

MPRINT(MIXTRAN):   select distinct count(count) into :RecallCount from repeat where count > 1 ;

MPRINT(MIXTRAN):   quit;

NOTE: PROCEDURE SQL used (Total process time):

real time           0.00 seconds

       cpu time            0.01 seconds

MLOGIC(MIXTRAN):  %PUT ## the number of repeat observations = &RecallCount.

SYMBOLGEN: Macro variable RECALLCOUNT resolves to      146

## the number of repeat observations = 146

SYMBOLGEN: Macro variable RECALLCOUNT resolves to      146

MLOGIC(MIXTRAN):  %IF condition %eval(&RecallCount)  <2 is FALSE

SYMBOLGEN: Macro variable RECALLCOUNT resolves to      146

MLOGIC(MIXTRAN):  %IF condition %eval(&RecallCount) <11 is FALSE

MPRINT(MIXTRAN):   run;

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

MPRINT(MIXTRAN): ***************************************************************;

MPRINT(MIXTRAN):   ** Find the smallest non-zero value of the response var ** over all subjects (min_amt). ** also find ** the

model type, the name of the replicate (weight) variable ** and if applicable the number of var groups. ** These will be passed to

the DISTRIB macro;

MPRINT(MIXTRAN):   ****************************************************************;

MPRINT(MIXTRAN):   proc univariate data = data0 noprint;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   var CA ;

MPRINT(MIXTRAN):   output out=misc_info min=min_amt ;

MPRINT(MIXTRAN):   run;

NOTE: The data set WORK.MISC_INFO has 1 observations and 1 variables.

NOTE: PROCEDURE UNIVARIATE used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   data misc_info ;

MPRINT(MIXTRAN):   set misc_info(keep=min_amt);

MPRINT(MIXTRAN):   FreqName=symget('replicate_var');

SYMBOLGEN: Macro variable NUMVARGROUPS resolves to 0

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MPRINT(MIXTRAN):   numvargrps=0;

SYMBOLGEN: Macro variable WEEKEND resolves to

MLOGIC(MIXTRAN):  %IF condition &weekend eq  is TRUE

MPRINT(MIXTRAN):   weekendflag=0;

NOTE: There were 1 observations read from the data set WORK.MISC_INFO.

NOTE: The data set WORK.MISC_INFO has 1 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   proc sort data=data out=_persons nodupkey;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

MPRINT(MIXTRAN):   by ID;

NOTE: There were 873 observations read from the data set WORK.DATA.

NOTE: 146 observations with duplicate key values were deleted.

NOTE: The data set WORK._PERSONS has 727 observations and 11 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.01 seconds

cpu time            0.00 seconds

MPRINT(MIXTRAN):   data _persons ;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable SUBGROUP resolves to

MPRINT(MIXTRAN):   set _persons (keep=ID dummywt CA ) ;

SYMBOLGEN: Macro variable SUBJECT resolves to ID

MPRINT(MIXTRAN):   by ID ;

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MPRINT(MIXTRAN):   indwts=dummywt;

MPRINT(MIXTRAN):   ****************** end of general set up **********************************;

MPRINT(MIXTRAN): ****************************************************************************;

MPRINT(MIXTRAN):   ;

MPRINT(MIXTRAN):   **RERUNS ;

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol ne  is FALSE

MPRINT(MIXTRAN): *******************************************************************************;

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition (&vcontrol = )  or (&vcontrol  ne  and &modeltype ne CORR) is TRUE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

MPRINT(MIXTRAN): ************************************************************;

MPRINT(MIXTRAN):   ** starting estimates for amount ;

MPRINT(MIXTRAN): ************************************************************;

SYMBOLGEN: Macro variable PRINT_OFF resolves to ods exclude all ;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MPRINT(MIXTRAN):   ods exclude all ;

MPRINT(MIXTRAN):   ;

MPRINT(MIXTRAN):   ** ods exclude all ;

SYMBOLGEN: Macro variable TITLES resolves to 0

MPRINT(MIXTRAN):   title1 "Starting Estimates for Amount Model" ;

SYMBOLGEN: Macro variable LAMBDA resolves to

MLOGIC(MIXTRAN):  %IF condition &lambda eq  is TRUE

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt>0 is TRUE

MPRINT(MIXTRAN):   ods output boxcox=boxcox;

NOTE: There were 727 observations read from the data set WORK._PERSONS.

NOTE: The data set WORK._PERSONS has 727 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.05 seconds

cpu time            0.06 seconds

MPRINT(MIXTRAN):   proc transreg data=data0;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

MPRINT(MIXTRAN):   where CA>0;

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

MPRINT(MIXTRAN):   model BoxCox(CA / lambda=0.05 to 1 by 0.05) = identity(SEX AGEY);

MPRINT(MIXTRAN):   run;

NOTE: 335 observations were deleted from the analysis due to missing values.

WARNING: The constant variable sex will be zeroed and excluded from the analysis.

NOTE: Algorithm converged.

NOTE: The data set WORK.BOXCOX has 20 observations and 7 variables.

NOTE: There were 873 observations read from the data set WORK.DATA0.

WHERE CA>0;

NOTE: PROCEDURE TRANSREG used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   data _null_;

MPRINT(MIXTRAN):   set boxcox;

MPRINT(MIXTRAN):   if ci='<';

MPRINT(MIXTRAN):   call symput ('lambda',lambda);

MPRINT(MIXTRAN):   run;

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

2200:55  

NOTE: There were 20 observations read from the data set WORK.BOXCOX.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   data data0;

MPRINT(MIXTRAN):   set data0;

SYMBOLGEN: Macro variable LAMBDA resolves to 0.35

MLOGIC(MIXTRAN):  %IF condition &lambda=0 is FALSE

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable LAMBDA resolves to 0.35

SYMBOLGEN: Macro variable LAMBDA resolves to 0.35

MPRINT(MIXTRAN):   boxcoxy=(CA** 0.35-1)/ 0.35;

MPRINT(MIXTRAN):   run;

NOTE: There were 873 observations read from the data set WORK.DATA0.

NOTE: The data set WORK.DATA0 has 873 observations and 12 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

MPRINT(MIXTRAN):   option nomprint;

SYMBOLGEN: Macro variable VARS_AMT resolves to SEX AGEY

SYMBOLGEN: Macro variable FREQING resolves to **unreplicated;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

NOTE: Algorithm converged.

NOTE: The scale parameter was estimated by maximum likelihood.

NOTE: The data set WORK.PARMSG2 has 4 observations and 8 variables.

NOTE: PROCEDURE GENMOD used (Total process time):

real time           0.03 seconds

cpu time            0.02 seconds

NOTE: The data set WORK.RANDOM2 has 1 observations and 3 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

MLOGIC(MIXTRAN):  %PUT VU2= &vu2

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

VU2= A_VAR_U2

MLOGIC(MIXTRAN):  %LET (variable name is CRD2)

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt > 0 is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is J)

MLOGIC(MIXTRAN):  %DO %UNTIL(&j=(&cnt_amt+1)) loop beginning.

SYMBOLGEN: Macro variable J resolves to 1

MLOGIC(MIXTRAN):  %IF condition %eval(&j) lt 9 is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is ZNUM)

MLOGIC(MIXTRAN):  %LET (variable name is CRD2)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable ZNUM resolves to 0

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT

SYMBOLGEN: Macro variable ZNUM resolves to 0

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: Macro variable VARL1 resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is J)

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL(&j=(&cnt_amt+1)) condition is FALSE; loop will iterate again.

SYMBOLGEN: Macro variable J resolves to 2

MLOGIC(MIXTRAN):  %IF condition %eval(&j) lt 9 is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is ZNUM)

MLOGIC(MIXTRAN):  %LET (variable name is CRD2)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable ZNUM resolves to 0

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT A02_SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable ZNUM resolves to 0

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable VARL2 resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is J)

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable J resolves to 3

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL() condition is TRUE; loop will not iterate again.

MLOGIC(MIXTRAN):  %PUT crd2 is &crd2

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT A02_SEX A03_AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

crd2 is A01_INTERCEPT A02_SEX A03_AGEY

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt>0 is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is INT)

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT A02_SEX A03_AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable INT resolves to A01_INTERCEPT

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is J)

MLOGIC(MIXTRAN):  %DO %UNTIL(&j=(&cnt_amt+1)) loop beginning.

MLOGIC(MIXTRAN):  %LET (variable name is UP)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: Macro variable VARL1 resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is LNGTH)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: Macro variable VARL1 resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is VARNAME)

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT A02_SEX A03_AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN: Macro variable UP resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable VARNAME resolves to A02_SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable UP resolves to SEX

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is J)

SYMBOLGEN: Macro variable J resolves to 1

SYMBOLGEN:  Macro variable J resolves to 2

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL(&j=(&cnt_amt+1)) condition is FALSE; loop will iterate again.

MLOGIC(MIXTRAN):  %LET (variable name is UP)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable VARL2 resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is LNGTH)

SYMBOLGEN: && resolves to &.

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable VARL2 resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is VARNAME)

SYMBOLGEN: Macro variable CRD2 resolves to A01_INTERCEPT A02_SEX A03_AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable UP resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable VARNAME resolves to A03_AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable UP resolves to AGEY

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %LET (variable name is J)

SYMBOLGEN: Macro variable J resolves to 2

SYMBOLGEN: Macro variable J resolves to 3

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL() condition is TRUE; loop will not iterate again.

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt=0 is FALSE

NOTE: There were 4 observations read from the data set WORK.PARMSG2.

NOTE: The data set WORK.NEWNAMES2 has 4 observations and 10 variables.

NOTE: DATA statement used (Total process time):

real time           0.07 seconds

cpu time            0.09 seconds

SYMBOLGEN: Macro variable LAMBDA resolves to 0.35

NOTE: The data set WORK.LAMBDA has 1 observations and 3 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

MLOGIC(MIXTRAN):  %PUT amtlambda= &amtlambda

SYMBOLGEN: Macro variable AMTLAMBDA resolves to A_LAMBDA                     

amtlambda= A_LAMBDA

SYMBOLGEN: Macro variable LAMBDABOUNDS resolves to bounds A_LAMBDA>0.01;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %IF condition &lambdabounds eq  is FALSE

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

NOTE: There were 4 observations read from the data set WORK.NEWNAMES2.

NOTE: There were 1 observations read from the data set WORK.RANDOM2.

NOTE: There were 1 observations read from the data set WORK.LAMBDA.

NOTE: The data set WORK.START2 has 6 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

NOTE: There were 6 observations read from the data set WORK.START2.

NOTE: The data set WORK.TRANS2 has 4 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

NOTE: There were 4 observations read from the data set WORK.TRANS2.

NOTE: The data set WORK.OUT2 has 1 observations and 5 variables.

NOTE: PROCEDURE TRANSPOSE used (Total process time):

real time           0.01 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable SEQ resolves to

MLOGIC(MIXTRAN):  %IF condition &seq ne  is FALSE

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt>0 is TRUE

MLOGIC(MIXTRAN):  %LET (variable name is K)

SYMBOLGEN: Macro variable K resolves to 1

SYMBOLGEN: Macro variable K resolves to 1

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition (&k ne (&cnt_amt+1)) is TRUE

MLOGIC(MIXTRAN):  %DO %UNTIL(&k=(&cnt_amt+1)) loop beginning.

MLOGIC(MIXTRAN):  %LET (variable name is K)

SYMBOLGEN: Macro variable K resolves to 1

SYMBOLGEN: Macro variable K resolves to 2

SYMBOLGEN: Macro variable K resolves to 2

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL(&k=(&cnt_amt+1)) condition is FALSE; loop will iterate again.

MLOGIC(MIXTRAN):  %LET (variable name is K)

SYMBOLGEN: Macro variable K resolves to 2

SYMBOLGEN: Macro variable K resolves to 3

SYMBOLGEN: Macro variable K resolves to 3

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %DO %UNTIL() condition is TRUE; loop will not iterate again.

SYMBOLGEN: Macro variable SEQ resolves to

MLOGIC(MIXTRAN):  %IF condition &seq ne  is FALSE

SYMBOLGEN: Macro variable CNT_AMT resolves to 2

MLOGIC(MIXTRAN):  %IF condition &cnt_amt=0 is FALSE

NOTE: There were 1 observations read from the data set WORK.OUT2.

NOTE: The data set WORK.EQN2 has 1 observations and 7 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.00 seconds

MLOGIC(MIXTRAN):  %PUT "eta2 is     " &eta2

SYMBOLGEN: Macro variable ETA2 resolves to A01_INTERCEPT+A02_SEX*SEX+A03_AGEY*AGEY + u2                                           

"eta2 is     " A01_INTERCEPT+A02_SEX*SEX+A03_AGEY*AGEY + u2

SYMBOLGEN: Macro variable VARGROUP resolves to

MLOGIC(MIXTRAN):  %IF condition &vargroup ne  is FALSE

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

SYMBOLGEN: Macro variable PRINT_ON resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable TITLES resolves to 0

NOTE: There were 6 observations read from the data set WORK.START2.

NOTE: The data set WORK.START2VARGRP has 6 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable NLOPTIONS resolves to

SYMBOLGEN: Macro variable START_VAL2 resolves to start2vargrp

SYMBOLGEN: Macro variable REPLICATE resolves to **unreplicated;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable LAMBDABOUNDS resolves to bounds A_LAMBDA>0.01;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable VARGROUP resolves to

MLOGIC(MIXTRAN):  %IF condition &vargroup ne  is FALSE

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

SYMBOLGEN: Macro variable ETA2 resolves to A01_INTERCEPT+A02_SEX*SEX+A03_AGEY*AGEY + u2

SYMBOLGEN: Macro variable LAMBDABOUNDS resolves to bounds A_LAMBDA>0.01;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %IF condition (&lambdabounds eq ) is FALSE

SYMBOLGEN: Macro variable LAMBDA resolves to 0.35

MLOGIC(MIXTRAN):  %IF condition &lambda ne 0 is TRUE

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable AMTLAMBDA resolves to A_LAMBDA                     

SYMBOLGEN: Macro variable AMTLAMBDA resolves to A_LAMBDA                     

SYMBOLGEN: Macro variable AMTLAMBDA resolves to A_LAMBDA                     

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable VARGROUP resolves to

MLOGIC(MIXTRAN):  %IF condition &vargroup ne  is FALSE

NOTE: Convergence criterion (GCONV=1E-8) satisfied.

NOTE: At least one element of the gradient is greater than 1e-3.

NOTE: Moore-Penrose inverse is used in covariance matrix.

WARNING: The final Hessian matrix is full rank but has at least one negative eigenvalue. Second-order optimality condition violated.

NOTE: The data set WORK.CONVF2 has 1 observations and 2 variables.

NOTE: The data set WORK.FITF2 has 4 observations and 2 variables.

NOTE: The data set WORK.ADPRMSF2 has 2 observations and 9 variables.

NOTE: The data set WORK.PARMSF2 has 6 observations and 10 variables.

NOTE: The data set WORK.PREDU2U has 727 observations and 10 variables.

NOTE: The data set WORK.PREDEINTU has 873 observations and 20 variables.

NOTE: The data set WORK.PREDX2B2U has 873 observations and 20 variables.

NOTE: PROCEDURE NLMIXED used (Total process time):

real time           0.36 seconds

cpu time            0.36 seconds

NOTE: There were 1 observations read from the data set WORK.CONVF2.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

MLOGIC(MIXTRAN):  %LET (variable name is CCSIN)

SYMBOLGEN: Macro variable CONVIN resolves to NOTE: GCONV convergence criterion satisfied.                                         

SYMBOLGEN: Macro variable CCSIN resolves to 13

MLOGIC(MIXTRAN):  %IF condition &ccsin eq 0 is FALSE

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

NOTE: There were 2 observations read from the data set WORK.ADPRMSF2.

NOTE: The data set WORK.ADPRMSF2 has 1 observations and 2 variables.

NOTE: PROCEDURE TRANSPOSE used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable PRINT_OFF resolves to ods exclude all ;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable VU2 resolves to A_VAR_U2                     

NOTE: There were 6 observations read from the data set WORK.PARMSF2.

NOTE: The data set WORK.COV has 1 observations and 2 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

NOTE: There were 1 observations read from the data set WORK.COV.

NOTE: The data set WORK.OUTCOV has 1 observations and 2 variables.

NOTE: PROCEDURE TRANSPOSE used (Total process time):

       real time           0.01 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

NOTE: There were 4 observations read from the data set WORK.FITF2.

NOTE: The data set WORK.FIT2 has 2 observations and 4 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

NOTE: There were 2 observations read from the data set WORK.FIT2.

NOTE: The data set WORK.FIT2 has 2 observations and 4 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.01 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT and &modeltype ne NOCORR is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable START_VAL2 resolves to start2vargrp

NOTE: There were 6 observations read from the data set WORK.START2VARGRP.

NOTE: There were 2 observations read from the data set WORK.FIT2.

NOTE: The data set WORK.NAMES has 8 observations and 5 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

NOTE: There were 8 observations read from the data set WORK.NAMES.

NOTE: The data set WORK.NAMES has 8 observations and 5 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

NOTE: There were 8 observations read from the data set WORK.NAMES.

NOTE: The data set WORK.NAMES2 has 6 observations and 5 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

NOTE: There were 6 observations read from the data set WORK.PARMSF2.

NOTE: The data set WORK.START3 has 6 observations and 10 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

NOTE: There were 1 observations read from the data set WORK.MISC_INFO.

NOTE: There were 1 observations read from the data set WORK.ADPRMSF2.

NOTE: The data set WORK.MISC_INFO has 1 observations and 6 variables.

NOTE: DATA statement used (Total process time):

       real time           0.00 seconds

cpu time            0.00 seconds

NOTE: There were 6 observations read from the data set WORK.START3.

NOTE: The data set WORK.START3 has 6 observations and 10 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

NOTE: There were 6 observations read from the data set WORK.NAMES2.

NOTE: There were 6 observations read from the data set WORK.START3.

NOTE: The data set WORK.STARTM has 6 observations and 14 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.02 seconds

NOTE: There were 8 observations read from the data set WORK.NAMES.

NOTE: There were 6 observations read from the data set WORK.START3.

NOTE: The data set WORK.ESTPRINT has 8 observations and 14 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

NOTE: There were 8 observations read from the data set WORK.ESTPRINT.

NOTE: The data set WORK.ESTPRINT has 8 observations and 14 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable PRINT_ON resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

NOTE: There were 1 observations read from the data set WORK.EQN2.

NOTE: The data set KENYAD.ETAS_CA has 1 observations and 2 variables.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

NOTE: There were 6 observations read from the data set WORK.PARMSF2.

NOTE: The data set KENYAD._PARMSF2_CA has 6 observations and 2 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.02 seconds

NOTE: There were 6 observations read from the data set WORK.START3.

NOTE: The data set WORK._PARAM_UNC has 6 observations and 10 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable VCONTROL resolves to

NOTE: There were 6 observations read from the data set WORK._PARAM_UNC.

NOTE: The data set KENYAD._PARAM_UNC_CA has 1 observations and 6 variables.

NOTE: PROCEDURE TRANSPOSE used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable LAMBDABOUNDS resolves to bounds A_LAMBDA>0.01;

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(MIXTRAN):  %IF condition &lambdabounds eq  is FALSE

NOTE: There were 1 observations read from the data set KENYAD._PARAM_UNC_CA.

NOTE: There were 1 observations read from the data set WORK.MISC_INFO.

NOTE: The data set KENYAD._PARAM_UNC_CA has 1 observations and 12 variables.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

       cpu time            0.02 seconds

SYMBOLGEN: Macro variable SUBJECT resolves to ID

NOTE: There were 873 observations read from the data set WORK.PREDX2B2U.

NOTE: The data set WORK.PREDX2B2U has 873 observations and 20 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable WEEKEND resolves to

MLOGIC(MIXTRAN):  %IF condition &weekend ne  is FALSE

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN:  Macro variable VCONTROL resolves to

NOTE: There were 873 observations read from the data set WORK.PREDX2B2U.

NOTE: There were 727 observations read from the data set WORK._PERSONS.

NOTE: The data set WORK.PREDX2B2U has 873 observations and 21 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPEAT resolves to visitno

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable REPEAT resolves to visitno

SYMBOLGEN: Macro variable SUBJECT resolves to ID

NOTE: There were 873 observations read from the data set WORK.PREDX2B2U.

NOTE: The data set KENYAD._PRED_UNC_CA has 727 observations and 3 variables.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.03 seconds

MLOGIC(MIXTRAN):  %PUT ## the data sets &outlib.._pred_unc_&foodtype&vcontrol and &outlib.._param_unc_&foodtype&vcontrol

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable VCONTROL resolves to

## the data sets kenyaD._pred_unc_CA and kenyaD._param_unc_CA

MLOGIC(MIXTRAN):  %PUT ## have been output for use in the DISTRIB macro or other software using AMOUNT or NOCORR models

## have been output for use in the DISTRIB macro or other software using AMOUNT or NOCORR models

SYMBOLGEN: Macro variable PRINT_ON resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype eq CORR is FALSE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol= is TRUE

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable RESPONSE resolves to CA

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype ne AMOUNT is FALSE

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable CONVIN resolves to NOTE: GCONV convergence criterion satisfied.                                         

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

NOTE: 12 lines were written to file PRINT.

NOTE: There were 8 observations read from the data set WORK.ESTPRINT.

NOTE: DATA statement used (Total process time):

real time           0.05 seconds

cpu time            0.04 seconds

NOTE: Missing values were generated as a result of performing an operation on missing values.

Each place is given by: (Number of times) at (Line)Smiley SadColumn).

7 at 2200:11  

NOTE: There were 8 observations read from the data set WORK.ESTPRINT.

NOTE: The data set WORK.ESTPRINT2 has 8 observations and 16 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

SYMBOLGEN:  Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable RESPONSE resolves to CA

NOTE: 6 lines were written to file PRINT.

NOTE: There were 8 observations read from the data set WORK.ESTPRINT2.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype eq CORR is FALSE

SYMBOLGEN: Macro variable TEMPDA resolves to repeat

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype=CORR is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype=NOCORR is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MIXTRAN):  %IF condition &modeltype=AMOUNT is TRUE

SYMBOLGEN: Macro variable VCONTROL resolves to

MLOGIC(MIXTRAN):  %IF condition &vcontrol =  is TRUE

NOTE: Deleting WORK.MISC_INFO (memtype=DATA).

NOTE: Deleting WORK._PERSONS (memtype=DATA).

NOTE: Deleting WORK.DATA (memtype=DATA).

NOTE: Deleting WORK.DATA0 (memtype=DATA).

NOTE: Deleting WORK.REPEAT (memtype=DATA).

NOTE: Deleting WORK.BOXCOX (memtype=DATA).

NOTE: Deleting WORK.CONVF2 (memtype=DATA).

NOTE: Deleting WORK.COV (memtype=DATA).

NOTE: Deleting WORK.EQN2 (memtype=DATA).

NOTE: Deleting WORK.ESTPRINT (memtype=DATA).

NOTE: Deleting WORK.ESTPRINT2 (memtype=DATA).

NOTE: Deleting WORK.FIT2 (memtype=DATA).

NOTE: Deleting WORK.FITF2 (memtype=DATA).

NOTE: Deleting WORK.LAMBDA (memtype=DATA).

NOTE: Deleting WORK.NAMES (memtype=DATA).

NOTE: Deleting WORK.NAMES2 (memtype=DATA).

NOTE: Deleting WORK.NEWNAMES2 (memtype=DATA).

NOTE: Deleting WORK.OUT2 (memtype=DATA).

NOTE: Deleting WORK.OUTCOV (memtype=DATA).

NOTE: Deleting WORK.PARMSF2 (memtype=DATA).

NOTE: Deleting WORK.PARMSG2 (memtype=DATA).

NOTE: Deleting WORK.PREDEINTU (memtype=DATA).

NOTE: Deleting WORK.PREDU2U (memtype=DATA).

NOTE: Deleting WORK.PREDX2B2U (memtype=DATA).

NOTE: Deleting WORK.RANDOM2 (memtype=DATA).

NOTE: Deleting WORK.START2 (memtype=DATA).

NOTE: Deleting WORK.START3 (memtype=DATA).

NOTE: Deleting WORK.STARTM (memtype=DATA).

NOTE: Deleting WORK.TRANS2 (memtype=DATA).

NOTE: Deleting WORK.ADPRMSF2 (memtype=DATA).

NOTE: Deleting WORK.START2VARGRP (memtype=DATA).

NOTE: Deleting WORK._PARAM_UNC (memtype=DATA).

MLOGIC(MIXTRAN):  %LET (variable name is SUCCESS)

SYMBOLGEN: Macro variable TITLES resolves to 0

NOTE: PROCEDURE DATASETS used (Total process time):

real time           0.04 seconds

cpu time            0.04 seconds

SYMBOLGEN: Macro variable FOODTYPE resolves to CA

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

SYMBOLGEN: Macro variable VCONTROL resolves to

SYMBOLGEN: Macro variable SUCCESS resolves to 1

NOTE: 4 lines were written to file PRINT.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUCCESS resolves to 1

MLOGIC(MIXTRAN):  %IF condition &success = 1 is TRUE

MLOGIC(MIXTRAN):  %PUT ## Execution of MIXTRAN was successful for &data &replicate_var

SYMBOLGEN: Macro variable DATA resolves to kenyad.kcamin

SYMBOLGEN: Macro variable REPLICATE_VAR resolves to dummywt

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

## Execution of MIXTRAN was successful for kenyad.kcamin dummywt

MLOGIC(MIXTRAN):  %PUT ## ___________________________________________________________________________________________

## ___________________________________________________________________________________________

MLOGIC(MIXTRAN):  %PUT

MLOGIC(MIXTRAN):  Ending execution.

2201

2202 libname kenyaD '/folders/myfolders/';

NOTE: Libref KENYAD was successfully assigned as follows:

Engine:        V9

Physical Name: /folders/myfolders

2203

2204 %include "/folders/myfolders/distrib_macro_v2.1.sas";

3237

3238

3239 %DISTRIB (call_type=full, modeltype=amount, outlib=kenyaD, subject=ID, mcsimda=, pred=kenyad._PRED_UNC_CA,

3239 ! param=kenyad._PARAM_UNC_CA, seed=0, nsim_mc=, food=, byvar=,

MLOGIC(DISTRIB):  Beginning execution.

3240 cutpoints= 800 2500, ncutpnt= 2, wkend_prop=, add_da=, subgroup=, recamt=, recamt_co=, recamt_hi=, titles=);

MLOGIC(DISTRIB):  Parameter CALL_TYPE has value full

MLOGIC(DISTRIB):  Parameter MODELTYPE has value amount

MLOGIC(DISTRIB):  Parameter OUTLIB has value kenyaD

MLOGIC(DISTRIB):  Parameter SUBJECT has value ID

MLOGIC(DISTRIB):  Parameter MCSIMDA has value

MLOGIC(DISTRIB):  Parameter PRED has value kenyad._PRED_UNC_CA

MLOGIC(DISTRIB):  Parameter PARAM has value kenyad._PARAM_UNC_CA

MLOGIC(DISTRIB):  Parameter SEED has value 0

MLOGIC(DISTRIB):  Parameter NSIM_MC has value

MLOGIC(DISTRIB):  Parameter FOOD has value

MLOGIC(DISTRIB):  Parameter BYVAR has value

MLOGIC(DISTRIB):  Parameter CUTPOINTS has value 800 2500

MLOGIC(DISTRIB):  Parameter NCUTPNT has value 2

MLOGIC(DISTRIB):  Parameter WKEND_PROP has value

MLOGIC(DISTRIB):  Parameter ADD_DA has value

MLOGIC(DISTRIB):  Parameter SUBGROUP has value

MLOGIC(DISTRIB):  Parameter RECAMT has value

MLOGIC(DISTRIB):  Parameter RECAMT_CO has value

MLOGIC(DISTRIB):  Parameter RECAMT_HI has value

MLOGIC(DISTRIB):  Parameter TITLES has value

MLOGIC(DISTRIB):  %LET (variable name is SUCCESS)

MLOGIC(DISTRIB):  %PUT ## In the DISTRIB macro:

## In the DISTRIB macro:

SYMBOLGEN: Macro variable MCSIMDA resolves to

MLOGIC(DISTRIB):  %IF condition &mcsimda= is TRUE

MLOGIC(DISTRIB):  %LET (variable name is MCSIMDA)

SYMBOLGEN: Macro variable PARAM resolves to kenyad._PARAM_UNC_CA

SYMBOLGEN: Macro variable CALL_TYPE resolves to full

MLOGIC(DISTRIB):  %IF condition %upcase(&call_type) ne PC is TRUE

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

3240:40   3240:86  

NOTE: There were 1 observations read from the data set KENYAD._PARAM_UNC_CA.

NOTE: The data set WORK._PARAM has 1 observations and 12 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.02 seconds

MLOGIC(DISTRIB):  %LET (variable name is CALL_TYPE)

SYMBOLGEN: Macro variable CALL_TYPE resolves to full

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

MLOGIC(DISTRIB):  %IF condition &call_type =  is FALSE

MLOGIC(DISTRIB):  %LET (variable name is MODELTYPE)

SYMBOLGEN: Macro variable MODELTYPE resolves to amount

MLOGIC(DISTRIB):  %LET (variable name is FREQ_VAR)

MLOGIC(LEFT): Beginning execution.

MLOGIC(LEFT): This macro was compiled from the autocall file /opt/sasinside/SASHome/SASFoundation/9.4/sasautos/left.sas

MLOGIC(TRIM): Beginning execution.

MLOGIC(TRIM): This macro was compiled from the autocall file /opt/sasinside/SASHome/SASFoundation/9.4/sasautos/trim.sas

SYMBOLGEN: Macro variable FREQ_VAR resolves to dummywt                                                                            

MLOGIC(TRIM): Parameter VALUE has value dummywt

MLOGIC(TRIM): %LOCAL  I

SYMBOLGEN: Macro variable VALUE resolves to dummywt

MLOGIC(TRIM): %DO loop beginning; index variable I; start value is 7; stop value is 1; by value is -1. 

SYMBOLGEN: Macro variable VALUE resolves to dummywt

SYMBOLGEN: Macro variable I resolves to 7

MLOGIC(TRIM):  %IF condition %qsubstr(&value,&i,1) ne   is TRUE

MLOGIC(TRIM): %GOTO trimmed (label resolves to TRIMMED).

SYMBOLGEN: Macro variable I resolves to 7

MLOGIC(TRIM): %IF condition &i>0 is TRUE

SYMBOLGEN: Macro variable VALUE resolves to dummywt

SYMBOLGEN: Macro variable I resolves to 7

MLOGIC(TRIM): Ending execution.

MLOGIC(LEFT): Parameter TEXT has value dummywt

MLOGIC(LEFT): %LOCAL  I

SYMBOLGEN: Macro variable TEXT resolves to dummywt

MLOGIC(LEFT): %IF condition %length(&text)=0 is FALSE

MLOGIC(LEFT): %LET (variable name is I)

MLOGIC(VERIFY):  Beginning execution.

MLOGIC(VERIFY):  This macro was compiled from the autocall file /opt/sasinside/SASHome/SASFoundation/9.4/sasautos/verify.sas

SYMBOLGEN: Macro variable TEXT resolves to dummywt

MLOGIC(VERIFY):  Parameter TEXT has value dummywt

MLOGIC(VERIFY):  Parameter TARGET has value 

MLOGIC(VERIFY):  %LOCAL I

SYMBOLGEN: Macro variable TEXT resolves to dummywt

SYMBOLGEN: Macro variable TARGET resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(VERIFY):  %IF condition %length(&text)=0 OR %length(&target)=0 is FALSE

SYMBOLGEN: Macro variable TEXT resolves to dummywt

MLOGIC(VERIFY):  %DO loop beginning; index variable I; start value is 1; stop value is 7; by value is 1.

SYMBOLGEN: Macro variable TARGET resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable TEXT resolves to dummywt

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(VERIFY):  %IF condition NOT %index(&target,%qsubstr(&text,&i,1)) is TRUE

MLOGIC(VERIFY):  %GOTO VERFND (label resolves to VERFND).

SYMBOLGEN: Macro variable I resolves to 1

SYMBOLGEN: Macro variable TEXT resolves to dummywt

MLOGIC(VERIFY):  %IF condition &i>%length(&text) is FALSE

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(VERIFY):  Ending execution.

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(LEFT): %IF condition &i is TRUE

SYMBOLGEN: Macro variable TEXT resolves to dummywt

SYMBOLGEN: Macro variable I resolves to 1

MLOGIC(LEFT): Ending execution.

SYMBOLGEN: Macro variable TITLES resolves to

MLOGIC(DISTRIB):  %IF condition &titles =  is TRUE

MLOGIC(DISTRIB):  %LET (variable name is TITLES)

MLOGIC(DISTRIB):  %IF condition call_type ne MC is TRUE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

SYMBOLGEN: Macro variable CUTPOINTS resolves to 800 2500

SYMBOLGEN: Macro variable CUTPOINTS resolves to 800 2500

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(DISTRIB):  %IF condition (&ncutpnt =   and &cutpoints ne  ) or (&cutpoints =   and &ncutpnt ne  ) is FALSE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(DISTRIB):  %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(DISTRIB):  %IF condition &ncutpnt = %eval(1) is FALSE

MLOGIC(DISTRIB):  %LET (variable name is CUTPROBS)

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(DISTRIB):  %LET (variable name is CUTVERTS)

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

SYMBOLGEN: Macro variable RECAMT resolves to

MLOGIC(DISTRIB):  %IF condition &recamt ne  is FALSE

MLOGIC(DISTRIB):  %LET (variable name is RECAMTFLAG)

MLOGIC(DISTRIB):  %LET (variable name is PROPREC)

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

MLOGIC(DISTRIB):  %IF condition &call_type ne PC is TRUE

SYMBOLGEN: Macro variable WKENDFLAG resolves to            0

MLOGIC(DISTRIB):  %IF condition &wkendflag eq 1 is FALSE

MLOGIC(DISTRIB):  %PUT ## the call_type is &call_type

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

## the call_type is FULL

MLOGIC(DISTRIB):  %PUT ## the model type is &modeltype

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

## the model type is AMOUNT

MLOGIC(DISTRIB):  %PUT ## parameter data set = &param

SYMBOLGEN: Macro variable PARAM resolves to kenyad._PARAM_UNC_CA

## parameter data set = kenyad._PARAM_UNC_CA

MLOGIC(DISTRIB):  %PUT ## predicted data set = &pred

SYMBOLGEN: Macro variable PRED resolves to kenyad._PRED_UNC_CA

## predicted data set = kenyad._PRED_UNC_CA

MLOGIC(DISTRIB):  %PUT ## the food variable is &food

SYMBOLGEN: Macro variable FOOD resolves to

## the food variable is

SYMBOLGEN: Macro variable FREQ_VAR resolves to dummywt

MLOGIC(DISTRIB):  %IF condition &freq_var ne dummywt is FALSE

SYMBOLGEN: Macro variable BYVAR resolves to

MLOGIC(DISTRIB):  %IF condition &byvar ne  is FALSE

SYMBOLGEN:  Macro variable CALL_TYPE resolves to FULL

MLOGIC(DISTRIB):  %IF condition &call_type ne PC is TRUE

SYMBOLGEN: Macro variable WKENDFLAG resolves to            0

MLOGIC(DISTRIB):  %IF condition &wkendflag = 1 is FALSE

SYMBOLGEN: Macro variable NUMVARGRPS resolves to 0          

MLOGIC(DISTRIB):  %IF condition &numvargrps ne 0 is FALSE

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

MLOGIC(DISTRIB):  %IF condition &call_type ne MC is TRUE

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(DISTRIB):  %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable ADD_DA resolves to

MLOGIC(DISTRIB):  %IF condition &add_da ne  is FALSE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(DISTRIB):  %IF condition &ncutpnt ne  is TRUE

MLOGIC(DISTRIB):  %PUT ## the number of cutpoints is &ncutpnt

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

## the number of cutpoints is 2

MLOGIC(DISTRIB):  %PUT ## the cutpoints are &cutpoints

SYMBOLGEN: Macro variable CUTPOINTS resolves to 800 2500

## the cutpoints are 800 2500

SYMBOLGEN: Macro variable RECAMT resolves to

MLOGIC(DISTRIB):  %IF condition &recamt ne  is FALSE

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

MLOGIC(DISTRIB):  %IF condition &call_type = FULL is TRUE

MLOGIC(MC):  Beginning execution.

SYMBOLGEN: Macro variable BYVAR resolves to

MLOGIC(MC): %IF condition (&byvar = ) is TRUE

SYMBOLGEN: Macro variable PRED resolves to kenyad._PRED_UNC_CA

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MC): %IF condition &modeltype ne CORR is TRUE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MC): %IF condition &modeltype eq AMOUNT is TRUE

SYMBOLGEN: Macro variable WKENDFLAG resolves to            0

MLOGIC(MC): %IF condition &wkendflag eq 1 is FALSE

NOTE: There were 727 observations read from the data set KENYAD._PRED_UNC_CA.

NOTE: There were 1 observations read from the data set WORK._PARAM.

NOTE: The data set WORK._PREDICTED2 has 727 observations and 23 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable MCSIMDA resolves to work.mcsim

SYMBOLGEN: Macro variable SEED resolves to 0

SYMBOLGEN: Macro variable WKENDFLAG resolves to            0

MLOGIC(MC): %IF condition &wkendflag eq 1 is FALSE

SYMBOLGEN: Macro variable MODELTYPE resolves to AMOUNT

MLOGIC(MC): %IF condition &modeltype ne AMOUNT is FALSE

MLOGIC(MC): %LET (variable name is MCP)

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable MCP resolves to

SYMBOLGEN: Macro variable FREQ_VAR resolves to dummywt

SYMBOLGEN: Macro variable NSIM_MC resolves to

NOTE 137-205: Line generated by the invoked macro "MC".

3240 0.159698 0.252489 0.159698 0.070458 0.080255 0.063345);

3240 ! mcsim_wt=&freq_var/&nsim_mc ;               numsims=%eval(&nsim_mc);

                                        _

22

ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant,

               a missing value, INPUT, PUT. 

NOTE 137-205: Line generated by the invoked macro "MC".

3240 0.159698 0.252489 0.159698 0.070458 0.080255 0.063345);

3240 ! mcsim_wt=&freq_var/&nsim_mc ;               numsims=%eval(&nsim_mc);

_

22

ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant,

               a missing value, INPUT, PUT. 

SYMBOLGEN: Macro variable NSIM_MC resolves to

ERROR: %EVAL function has no expression to evaluate, or %IF statement has no condition.

ERROR: The macro MC will stop executing.

MLOGIC(MC): Ending execution.

MLOGIC(PC): Beginning execution.

MLOGIC(PC): %LET (variable name is CHECK)

MLOGIC(PC): %LET (variable name is ADDCHECK)

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable RECAMT resolves to

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable CHECK resolves to 0

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(PC): %IF condition &recamt ne   or (&subgroup ne and &check = 0) is FALSE

SYMBOLGEN: Macro variable CHECK resolves to 0

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

MLOGIC(PC): %IF condition &check ne 0 is FALSE

WARNING: The variable mc_t in the DROP, KEEP, or RENAME list has never been referenced.

WARNING: The variable mc_a in the DROP, KEEP, or RENAME list has never been referenced.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.MCSIM may be incomplete.  When this step was stopped there were 0 observations and 3 variables.

WARNING: Data set WORK.MCSIM was not replaced because this step was stopped.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup =   is TRUE

MLOGIC(PC): %LET (variable name is FIRST_SUBGROUP)

MLOGIC(PC): %LET (variable name is LAST_SUBGROUP)

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne is FALSE

SYMBOLGEN: Macro variable MCSIMDA resolves to work.mcsim

SYMBOLGEN: Macro variable SUBJECT resolves to ID

NOTE: Input data set is empty.

NOTE: The data set WORK._MCSIM1 has 0 observations and 3 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable PRED resolves to kenyad._PRED_UNC_CA

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable SUBJECT resolves to ID

NOTE: There were 727 observations read from the data set KENYAD._PRED_UNC_CA.

NOTE: 0 observations with duplicate key values were deleted.

NOTE: The data set WORK._SUBSET has 727 observations and 1 variables.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.02 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUBJECT resolves to ID

SYMBOLGEN: Macro variable SUBJECT resolves to ID

NOTE: There were 0 observations read from the data set WORK._MCSIM1.

NOTE: There were 727 observations read from the data set WORK._SUBSET.

NOTE: The data set WORK._MCSIM1 has 0 observations and 3 variables.

NOTE: The data set WORK._NOTINMC has 727 observations and 1 variables.

NOTE: DATA statement used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable TITLES resolves to 0

NOTE: There were 727 observations read from the data set WORK._NOTINMC.

NOTE: PROCEDURE PRINT used (Total process time):

real time           0.51 seconds

cpu time            0.50 seconds

SYMBOLGEN: Macro variable RECAMT resolves to

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &recamt ne  or &subgroup ne  is FALSE

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne is FALSE

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable SUBGROUP resolves to

NOTE: No observations in data set WORK._MCSIM1.

NOTE: The data set WORK._GRPINFO has 0 observations and 2 variables.

NOTE: PROCEDURE MEANS used (Total process time):

real time           0.01 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

NOTE: There were 0 observations read from the data set WORK._MCSIM1.

NOTE: The data set WORK._MCSIM1 has 0 observations and 7 variables.

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

ERROR: Variable MC_T not found.

NOTE: The SAS System stopped processing this step because of errors.

NOTE: PROCEDURE SORT used (Total process time):

real time           0.00 seconds

cpu time            0.01 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable CUTPROBS resolves to cutprob1-cutprob2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable CUTVERTS resolves to cutvertline1-cutvertline2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

SYMBOLGEN: Macro variable CUTVERTS resolves to cutvertline1-cutvertline2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

SYMBOLGEN: Macro variable CUTPROBS resolves to cutprob1-cutprob2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %DO loop beginning; index variable C; start value is 1; stop value is 2; by value is 1. 

SYMBOLGEN: Macro variable C resolves to 1

SYMBOLGEN: Macro variable CUTPOINTS resolves to 800 2500

SYMBOLGEN: Macro variable C resolves to 1

MLOGIC(PC): %DO loop index variable C is now 2; loop will iterate again.

SYMBOLGEN: Macro variable C resolves to 2

SYMBOLGEN: Macro variable CUTPOINTS resolves to 800 2500

SYMBOLGEN: Macro variable C resolves to 2

MLOGIC(PC): %DO loop index variable C is now 3; loop will not iterate again.

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable LAST_SUBGROUP resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable LAST_SUBGROUP resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

SYMBOLGEN: Macro variable LAST_SUBGROUP resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

MLOGIC(PC): %IF condition &ncutpnt ne  is TRUE

SYMBOLGEN: Macro variable NCUTPNT resolves to 2

NOTE: Variable mc_t is uninitialized.

ERROR: BY variable mc_t is not on input data set WORK._MCSIM1.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.OUTPERCENTILES may be incomplete.  When this step was stopped there were 0 observations and 228

variables.

NOTE: DATA statement used (Total process time):

real time           0.04 seconds

cpu time            0.05 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable RECAMTFLAG resolves to

ERROR: Variable MC_T not found.

SYMBOLGEN: Macro variable PROPREC resolves to

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable FREQ_VAR resolves to dummywt

MLOGIC(PC): %IF condition &freq_var = dummywt is TRUE

MLOGIC(PC): %LET (variable name is FREQ_VAR)

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOOD resolves to

SYMBOLGEN: Macro variable FREQ_VAR resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK._MEAN may be incomplete.  When this step was stopped there were 0 observations and 0 variables.

NOTE: PROCEDURE MEANS used (Total process time):

real time           0.01 seconds

cpu time            0.00 seconds

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable PROPREC resolves to

SYMBOLGEN: Macro variable CUTPROBS resolves to cutprob1-cutprob2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable SUBGROUP resolves to

SYMBOLGEN: Macro variable PROPREC resolves to

ERROR: The variable mean_mc_t in the DROP, KEEP, or RENAME list has never been referenced.

ERROR: The variable _type_ in the DROP, KEEP, or RENAME list has never been referenced.

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

SYMBOLGEN: Macro variable RECAMT resolves to

MLOGIC(PC): %IF condition &recamt ne  is FALSE

WARNING: The variable mean_mc_t in the DROP, KEEP, or RENAME list has never been referenced.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set KENYAD.DESCRIPT__ may be incomplete.  When this step was stopped there were 0 observations and 104 variables.

WARNING: Data set KENYAD.DESCRIPT__ was not replaced because this step was stopped.

NOTE: DATA statement used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable OUTLIB resolves to kenyaD

SYMBOLGEN: Macro variable FOOD resolves to

SYMBOLGEN: Macro variable FREQ_VAR resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition (&subgroup ^= ) is FALSE

SYMBOLGEN: Macro variable PROPREC resolves to

ERROR: Variable MEAN_MC_T not found.

SYMBOLGEN: Macro variable CUTPROBS resolves to cutprob1-cutprob2

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

SYMBOLGEN: Macro variable TITLES resolves to 0

SYMBOLGEN: Macro variable FOOD resolves to

SYMBOLGEN: Macro variable FREQ_VAR resolves to

SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.

NOTE: The SAS System stopped processing this step because of errors.

NOTE: PROCEDURE PRINT used (Total process time):

real time           0.02 seconds

cpu time            0.02 seconds

SYMBOLGEN: Macro variable SYSCC resolves to 3000

MLOGIC(PC): %IF condition %eval(&syscc) = 0 is FALSE

SYMBOLGEN: Macro variable CALL_TYPE resolves to FULL

MLOGIC(PC): %IF condition &call_type = FULL is TRUE

SYMBOLGEN: Macro variable SUBGROUP resolves to

MLOGIC(PC): %IF condition &subgroup ne  is FALSE

NOTE: The file WORK._SUBS (memtype=DATA) was not found, but appears on a DELETE statement.

NOTE: Deleting WORK._MCSIM1 (memtype=DATA).

NOTE: Deleting WORK.OUTPERCENTILES (memtype=DATA).

NOTE: Deleting WORK._MEAN (memtype=DATA).

NOTE: Deleting WORK._GRPINFO (memtype=DATA).

NOTE: Deleting WORK._PARAM (memtype=DATA).

NOTE: Deleting WORK._SUBSET (memtype=DATA).

NOTE: Deleting WORK._NOTINMC (memtype=DATA).

NOTE: Deleting WORK._PREDICTED2 (memtype=DATA).

MLOGIC(PC): Ending execution.

MLOGIC(DISTRIB):  %LET (variable name is SUCCESS)

SYMBOLGEN: Macro variable SUCCESS resolves to 1

MLOGIC(DISTRIB):  %IF condition &success ne 1 is FALSE

MLOGIC(DISTRIB):  %PUT ## The DISTRIB macro completed succesfully

## The DISTRIB macro completed succesfully

SYMBOLGEN: Macro variable TITLES resolves to 0

MLOGIC(DISTRIB):  Ending execution.

3241

3242

3243 OPTIONS NOSYNTAXCHECK;

3244 ODS HTML CLOSE;

SYMBOLGEN: Macro variable GRAPHTERM resolves to

3245 &GRAPHTERM; ;*';*";*/;RUN;

3245 !                           QUIT;

NOTE: PROCEDURE DATASETS used (Total process time):

real time           0.04 seconds

cpu time            0.04 seconds

3246 QUIT;RUN;

3247 ODS HTML5 (ID=WEB) CLOSE;

3248

3249 ODS RTF (ID=WEB) CLOSE;

3250 ODS PDF (ID=WEB) CLOSE;

NOTE: ODS PDF(WEB) printed 23 pages to /tmp/SAS_work609E0000082B_localhost.localdomain/#LN00048.

3251 FILENAME _GSFNAME;

NOTE: Fileref _GSFNAME has been deassigned.

3252 DATA _NULL_;

3253 RUN;

NOTE: DATA statement used (Total process time):

real time           0.00 seconds

cpu time            0.02 seconds

3254 OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;

3255      

Super User
Super User
Posts: 7,401

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

Sorry, major league TL;DR.  Please isolate yourself where the error is occuring, i.e. which step, and if your still having issues, post some test data and that step.  To view the output, take away the macro code part and just run the code for one example - i.e. macro testing, make sure it works for one option, then put it in a macro.  Also, the options symbolgen mprint mlogic source2; will also help you debug.

SAS Employee
Posts: 170

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

&NSIM_MC is blank in your macro call (%DISTRIB).  It seems to want it to have a value or missing.

That is all I can tell without more information.

Super User
Super User
Posts: 6,500

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

I suspect that your data does not work with this model.  For example the first warning message is that your variable SEX is a constant.  Perhaps if you eliminate it from the model it will help.

It is harder to see what else is happening because we cannot see the code that the macro is generating.

Edit the macro and comment out this line.

MPRINT(MIXTRAN):   option nomprint;

SAS Super FREQ
Posts: 3,478

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

When you call the macro, you are setting certain macro variables (such as &NSIM_MC) to be empty.  Check the doc for the macro. It probably says something like "If you want to use the default values, do not specify a value for a parameter."

Thus you might try

%MIXTRAN(data=kenyad.kcamin, response=CA, foodtype=CA, subject=ID, repeat=visitno,  covars_amt=sex agey, outlib=kenyaD, modeltype=amount);

Occasional Contributor
Posts: 14

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

the MIXTRAN works correctly the issue is with the DISTRIB macro. As per User's Guide it is fine to leave blank Parameters in list so long as all required ones have a value.

I filled in a value for nsim_mc,  and removed sex as a covariate and the "ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT." error seems to be resolved.

However, when I re-run the dat with the changes to the code I get several new error messages.

ERROR: BY variables are not properly sorted on data set WORK._MCSIM1.

ERROR: No disk space is available for the write operation.  Filename =

ERROR: Failure while attempting to write page 1169 of sorted run 2.

ERROR: Failure while attempting to write page 7015 to utility file 1.

ERROR: Failure encountered while creating initial set of sorted runs.

ERROR: Failure encountered during external sort.

ERROR: Sort execution failure.

NOTE: The SAS System stopped processing this step because of errors.

Again, I am confused as to how to move forward (The code and log can be found below).

Any help is appreciated!

Thanks!

Code:

libname kenyaD '/folders/myfolders/';

%include "/folders/myfolders/mixtran_macro_v2.1.sas";

ods graphics off;

Options symbolgen mlogic mprint mfile;

  option nomprint;

%MIXTRAN(data=kenyad.kcamin, response=CA, foodtype=CA, subject=ID, repeat=visitno,  covars_amt= agey, covars_prob=,

outlib=kenyaD, modeltype=amount, lambda=, replicate_var=, seq=, weekend=, vargroup=,

numvargroups=, start_val1=, start_val2=, start_val3=, vcontrol=,

nloptions=, titles=, printlevel=,subgroup=);

libname kenyaD '/folders/myfolders/';

%include "/folders/myfolders/distrib_macro_v2.1.sas";

%DISTRIB (call_type=full, modeltype=amount, outlib=kenyaD, subject=ID, mcsimda=, pred=kenyad._PRED_UNC_CA, param=kenyad._PARAM_UNC_CA, seed=0, nsim_mc=25575, food=, byvar=, cutpoints= 800 2500, ncutpnt= 2, wkend_prop=, add_da=, subgroup=, recamt=, recamt_co=, recamt_hi=, titles=);

Code:

 1          OPTIONS NOSYNTAXCHECK;
 2          TITLE;
 3          FOOTNOTE;
 4          OPTIONS LOCALE=en_US DFLANG=LOCALE;
 5          DATA _NULL_;
 6          RUN;
 
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       cpu time            0.01 seconds
       
 
 7          OPTIONS VALIDVARNAME=V7;
 8          FILENAME _HTMLOUT TEMP;
 9          FILENAME _RTFOUT TEMP ENCODING='UTF-8';
 10         FILENAME _PDFOUT TEMP;
 11         FILENAME _GSFNAME TEMP;
 12         FILENAME _DATAOUT TEMP;
 13         %LET SYSCC=0;
 14         %LET _CLIENTAPP=SAS Studio;
 15         %LET _CLIENTAPPVERSION=3.4;
 16         %LET _SASPROGRAMFILE = %BQUOTE();
 17         %LET _BASEURL = %BQUOTE(http://localhost:10080/SASStudio/);
 18         %LET _EXECENV=SASStudio;
 19         DATA _NULL_;
 20         CALL SYMPUT("GRAPHINIT","");
 21         CALL SYMPUT("GRAPHTERM","");
 22         RC=TSLVL('GEOCODE','N');
 23         _ERROR_=0;
 24         IF (RC^=' ') THEN DO;
 25         CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
 26         CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
 27         END;
 28         RUN;
 
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       cpu time            0.03 seconds
       
 
 29         DATA _NULL_;
 30         RC=SYSPROD("PRODNUM002");
 31         IF (RC^=1) THEN DO;
 32         CALL SYMPUT("GRAPHINIT","");
 33         CALL SYMPUT("GRAPHTERM","");
 34         END;
 35         RUN;
 
 NOTE: DATA statement used (Total process time):
       real time           0.01 seconds
       cpu time            0.02 seconds
 36         %LET _DATAOUT_MIME_TYPE=;
 37         %LET _DATAOUT_NAME=;
 38         %LET _DATAOUT_TABLE=;
 39         %LET _DATAOUT_URL=;
 40         %SYMDEL _DATAOUT_MIME_TYPE _DATAOUT_NAME _DATAOUT_URL _DATAOUT_TABLE;
 41         %LET _SASWS_ = %BQUOTE(/folders/myfolders);
 42         %LET _SASWSTEMP_=%BQUOTE(/folders/myfolders/.images/016da1d2-05b1-4e2c-a435-c5b1787d2bf2);
 43         ODS LISTING CLOSE;
 44         OPTIONS PRINTERPATH=PDF;
 45         ODS AUTONAVIGATE OFF;
 46         ODS GRAPHICS ON;
 47         ODS HTML5 (ID=WEB) DEVICE=PNG GPATH="&_SASWSTEMP_" ENCODING=utf8 FILE=_HTMLOUT (TITLE='Results: Program 1')
 47       ! STYLE=Htmlblue OPTIONS(BITMAP_MODE='INLINE' SVG_MODE='INLINE' CSS_PREFIX='.ods_016da1d2-05b1-4e2c-a435-c5b1787d2bf2'
 47       ! BODY_ID='div_016da1d2-05b1-4e2c-a435-c5b1787d2bf2' );
 NOTE: Writing HTML5(WEB) Body file: _HTMLOUT
 48         ODS RTF (ID=WEB) STYLE=Rtf FILE=_RTFOUT;
 NOTE: Writing RTF Body file: _RTFOUT
 49         ODS PDF (ID=WEB) STYLE=Pearl FILE=_PDFOUT;
 NOTE: Writing ODS PDF(WEB) output to DISK destination "_PDFOUT", printer "PDF".
 50         &GRAPHINIT;
 51         OPTIONS FIRSTOBS=1;
 52         OPTIONS OBS=MAX;
 53         OPTIONS DTRESET DATE NUMBER NOTES;
 54         OPTIONS NOSYNTAXCHECK;
 55         
 56         libname kenyaD '/folders/myfolders/';
 NOTE: Libref KENYAD was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /folders/myfolders
 57         
 58         %include "/folders/myfolders/distrib_macro_v2.1.sas";
 1091       
 1092       %DISTRIB (call_type=full, modeltype=amount, outlib=kenyaD, subject=ID, mcsimda=, pred=kenyad._PRED_UNC_CA,
 1092     ! param=kenyad._PARAM_UNC_CA, seed=0, nsim_mc=25575, food=, byvar=,
 1093       cutpoints= 800 2500, ncutpnt= 2, wkend_prop=, add_da=, subgroup=, recamt=, recamt_co=, recamt_hi=, titles=);
 ## In the DISTRIB macro:
 
 NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
       1093:40   1093:86   
 NOTE: There were 1 observations read from the data set KENYAD._PARAM_UNC_CA.
 NOTE: The data set WORK._PARAM has 1 observations and 11 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.01 seconds
       cpu time            0.01 seconds
 ## the call_type is FULL
 ## the model type is AMOUNT
 ## parameter data set = kenyad._PARAM_UNC_CA
 ## predicted data set = kenyad._PRED_UNC_CA
 ## the food variable is
 ## the number of cutpoints is 2
 ## the cutpoints are 800 2500
 
 NOTE: There were 727 observations read from the data set KENYAD._PRED_UNC_CA.
 NOTE: There were 1 observations read from the data set WORK._PARAM.
 NOTE: The data set WORK._PREDICTED2 has 727 observations and 22 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
 NOTE: Missing values were generated as a result of performing an operation on missing values.
       Each place is given by: (Number of times) at (Line):(Column).
       7135425 at 1093:91    64218825 at 1093:20   64218825 at 1093:79   64218825 at 1093:88   
 NOTE: There were 727 observations read from the data set WORK._PREDICTED2.
 NOTE: The data set WORK.MCSIM has 18593025 observations and 5 variables.
 NOTE: DATA statement used (Total process time):
       real time           32.39 seconds
       cpu time            32.12 seconds
       
 NOTE: There were 18593025 observations read from the data set WORK.MCSIM.
 NOTE: The data set WORK._MCSIM1 has 18593025 observations and 5 variables.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           1:11.04
       cpu time            28.97 seconds
       
 NOTE: There were 727 observations read from the data set KENYAD._PRED_UNC_CA.
 NOTE: 0 observations with duplicate key values were deleted.
 NOTE: The data set WORK._SUBSET has 727 observations and 1 variables.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           0.06 seconds
       cpu time            0.03 seconds
     
 ERROR: BY variables are not properly sorted on data set WORK._MCSIM1.
 inmc=1 insub=1 ID=44407106 mcsim_wt=0.0000391007 numsims=0 mc_a=0 mc_t=0 FIRST.ID=0 LAST.ID=0 _ERROR_=1 _N_=4009518
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: There were 4009519 observations read from the data set WORK._MCSIM1.
 NOTE: There were 158 observations read from the data set WORK._SUBSET.
 WARNING: The data set WORK._MCSIM1 may be incomplete.  When this step was stopped there were 4008294 observations and 5 variables.
 WARNING: Data set WORK._MCSIM1 was not replaced because this step was stopped.
 WARNING: The data set WORK._NOTINMC may be incomplete.  When this step was stopped there were 0 observations and 1 variables.
 NOTE: DATA statement used (Total process time):
       real time           2.32 seconds
       cpu time            1.01 seconds
 NOTE: No observations in data set WORK._NOTINMC.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.06 seconds
       cpu time            0.02 seconds
 NOTE: There were 18593025 observations read from the data set WORK._MCSIM1.
 NOTE: The data set WORK._GRPINFO has 1 observations and 2 variables.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           1.62 seconds
       cpu time            1.49 second
 the sum of the adjusted weights = 1.0000000002
 NOTE: There were 18593025 observations read from the data set WORK._MCSIM1.
 NOTE: There were 1 observations read from the data set WORK._GRPINFO.
 NOTE: The data set WORK._MCSIM1 has 18593025 observations and 9 variables.
 NOTE: DATA statement used (Total process time):
       real time           14.63 seconds
       cpu time            3.17 seconds
       
 
 
 NOTE: There were 18593025 observations read from the data set WORK._MCSIM1.
 ERROR: No disk space is available for the write operation.  Filename = 
        /tmp/SAS_util00010000099D_localhost.localdomain/ut099D000006.utl.
 ERROR: Failure while attempting to write page 1169 of sorted run 2.
 ERROR: Failure while attempting to write page 7015 to utility file 1.
 ERROR: Failure encountered while creating initial set of sorted runs.
 ERROR: Failure encountered during external sort.
 ERROR: Sort execution failure.
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK._MCSIM1 may be incomplete.  When this step was stopped there were 0 observations and 9 variables.
 WARNING: Data set WORK._MCSIM1 was not replaced because this step was stopped.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           1:42.41
       cpu time            37.21 seconds
       
 ERROR: BY variables are not properly sorted on data set WORK._MCSIM1.
 finalrec=0 ID=901205 mcsim_wt=0.0000391007 numsims=25575 mc_a=752.70776495 mc_t=752.70776495 grpwts=726.7887781 numsubjects=18593025
 adjwt=5.379924E-8 totsum=0 FIRST.mc_t=0 LAST.mc_t=1 jperc=1 adjwt_ties=0 wsum=0 calcflag=1 last_wsumplush=0 last_mc_t=0
 tpercentile0=. tpercentile1=. tpercentile2=. tpercentile3=. tpercentile4=. tpercentile5=. tpercentile6=. tpercentile7=.
 tpercentile8=. tpercentile9=. tpercentile10=. tpercentile11=. tpercentile12=. tpercentile13=. tpercentile14=. tpercentile15=.
 tpercentile16=. tpercentile17=. tpercentile18=. tpercentile19=. tpercentile20=. tpercentile21=. tpercentile22=. tpercentile23=.
 tpercentile24=. tpercentile25=. tpercentile26=. tpercentile27=. tpercentile28=. tpercentile29=. tpercentile30=. tpercentile31=.
 tpercentile32=. tpercentile33=. tpercentile34=. tpercentile35=. tpercentile36=. tpercentile37=. tpercentile38=. tpercentile39=.
 tpercentile40=. tpercentile41=. tpercentile42=. tpercentile43=. tpercentile44=. tpercentile45=. tpercentile46=. tpercentile47=.
 tpercentile48=. tpercentile49=. tpercentile50=. tpercentile51=. tpercentile52=. tpercentile53=. tpercentile54=. tpercentile55=.
 tpercentile56=. tpercentile57=. tpercentile58=. tpercentile59=. tpercentile60=. tpercentile61=. tpercentile62=. tpercentile63=.
 tpercentile64=. tpercentile65=. tpercentile66=. tpercentile67=. tpercentile68=. tpercentile69=. tpercentile70=. tpercentile71=.
 tpercentile72=. tpercentile73=. tpercentile74=. tpercentile75=. tpercentile76=. tpercentile77=. tpercentile78=. tpercentile79=.
 tpercentile80=. tpercentile81=. tpercentile82=. tpercentile83=. tpercentile84=. tpercentile85=. tpercentile86=. tpercentile87=.
 tpercentile88=. tpercentile89=. tpercentile90=. tpercentile91=. tpercentile92=. tpercentile93=. tpercentile94=. tpercentile95=.
 tpercentile96=. tpercentile97=. tpercentile98=. tpercentile99=. tpercentile100=. horizline0=0 horizline1=0.01 horizline2=0.02
 horizline3=0.03 horizline4=0.04 horizline5=0.05 horizline6=0.06 horizline7=0.07 horizline8=0.08 horizline9=0.09 horizline10=0.1
 horizline11=0.11 horizline12=0.12 horizline13=0.13 horizline14=0.14 horizline15=0.15 horizline16=0.16 horizline17=0.17
 horizline18=0.18 horizline19=0.19 horizline20=0.2 horizline21=0.21 horizline22=0.22 horizline23=0.23 horizline24=0.24
 horizline25=0.25 horizline26=0.26 horizline27=0.27 horizline28=0.28 horizline29=0.29 horizline30=0.3 horizline31=0.31
 horizline32=0.32 horizline33=0.33 horizline34=0.34 horizline35=0.35 horizline36=0.36 horizline37=0.37 horizline38=0.38
 horizline39=0.39 horizline40=0.4 horizline41=0.41 horizline42=0.42 horizline43=0.43 horizline44=0.44 horizline45=0.45
 horizline46=0.46 horizline47=0.47 horizline48=0.48 horizline49=0.49 horizline50=0.5 horizline51=0.51 horizline52=0.52
 horizline53=0.53 horizline54=0.54 horizline55=0.55 horizline56=0.56 horizline57=0.57 horizline58=0.58 horizline59=0.59
 horizline60=0.6 horizline61=0.61 horizline62=0.62 horizline63=0.63 horizline64=0.64 horizline65=0.65 horizline66=0.66
 horizline67=0.67 horizline68=0.68 horizline69=0.69 horizline70=0.7 horizline71=0.71 horizline72=0.72 horizline73=0.73
 horizline74=0.74 horizline75=0.75 horizline76=0.76 horizline77=0.77 horizline78=0.78 horizline79=0.79 horizline80=0.8
 horizline81=0.81 horizline82=0.82 horizline83=0.83 horizline84=0.84 horizline85=0.85 horizline86=0.86 horizline87=0.87
 horizline88=0.88 horizline89=0.89 horizline90=0.9 horizline91=0.91 horizline92=0.92 horizline93=0.93 horizline94=0.94
 horizline95=0.95 horizline96=0.96 horizline97=0.97 horizline98=0.98 horizline99=0.99 horizline100=1 kcut=1 cutcalcflag=1 cutprob1=.
 cutprob2=. cutvertline1=800 cutvertline2=2500 j=. halfw=. wsumplush=. slope=. interceptb=. tempcutprob=. _ERROR_=1 _N_=1224
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: There were 1225 observations read from the data set WORK._MCSIM1.
 WARNING: The data set WORK.OUTPERCENTILES may be incomplete.  When this step was stopped there were 0 observations and 229 
          variables.
 NOTE: DATA statement used (Total process time):
       real time           0.14 seconds
       cpu time            0.06 seconds
       
 
 
 NOTE: There were 18593025 observations read from the data set WORK._MCSIM1.
 NOTE: The data set WORK._MEAN has 1 observations and 3 variables.
 NOTE: PROCEDURE MEANS used (Total process time):
       real time           6.40 seconds
       cpu time            3.13 seconds
       
 
 
 NOTE: Missing values were generated as a result of performing an operation on missing values.
       Each place is given by: (Number of times) at (Line):(Column).
       1 at 1093:32   
 NOTE: There were 1 observations read from the data set WORK._MEAN.
 NOTE: There were 0 observations read from the data set WORK.OUTPERCENTILES.
 NOTE: There were 1 observations read from the data set WORK._GRPINFO.
 NOTE: The data set KENYAD.DESCRIPT__ has 1 observations and 105 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.05 seconds
       cpu time            0.02 seconds
       
 
 NOTE: There were 1 observations read from the data set KENYAD.DESCRIPT__.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.41 seconds
       cpu time            0.12 seconds
       
 
 
 NOTE: The file WORK._SUBS (memtype=DATA) was not found, but appears on a DELETE statement.
 NOTE: Deleting WORK._MCSIM1 (memtype=DATA).
 NOTE: Deleting WORK.OUTPERCENTILES (memtype=DATA).
 NOTE: Deleting WORK._MEAN (memtype=DATA).
 NOTE: Deleting WORK._GRPINFO (memtype=DATA).
 NOTE: Deleting WORK._PARAM (memtype=DATA).
 NOTE: Deleting WORK._SUBSET (memtype=DATA).
 NOTE: Deleting WORK._NOTINMC (memtype=DATA).
 NOTE: Deleting WORK._PREDICTED2 (memtype=DATA).
 ## The DISTRIB macro completed succesfully
 1094       
 1095       OPTIONS NOSYNTAXCHECK;
 1096       ODS HTML CLOSE;
 1097       &GRAPHTERM; ;*';*";*/;RUN;
 
 1097     !                           QUIT;
 
 NOTE: PROCEDURE DATASETS used (Total process time):
       real time           0.16 seconds
       cpu time            0.14 seconds
 
 1098       QUIT;RUN;
 1099       ODS HTML5 (ID=WEB) CLOSE;
 1100       
 1101       ODS RTF (ID=WEB) CLOSE;
 1102       ODS PDF (ID=WEB) CLOSE;
 NOTE: ODS PDF(WEB) printed 1 page to /tmp/SAS_work3FCE0000099D_localhost.localdomain/#LN00016.
 1103       FILENAME _GSFNAME;
 NOTE: Fileref _GSFNAME has been deassigned.
 1104       DATA _NULL_;
 1105       RUN;
 
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 
 1106       OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
 1107       
SAS Employee
Posts: 170

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

I cannot tell what the problem is without the code in the macro.

It says the BY variable is not properly sorted.  It may be that or it might be caused by a lack of disk space as in the next Error.

So look at the BY processing and look at the Disk Space situation.

Super User
Posts: 6,939

Re: ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.

It may be that you are trying to do something in SAS UE with a too large (for SAS UE) dataset.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 7 replies
  • 4425 views
  • 0 likes
  • 6 in conversation