I get several errors when running the BAT file, errors that do not occur when running each program individually. I get syntax errors and errors for macros calling variable they do not exist. The following is one of 27 pages from my error search document:
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a name, ;.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant, a missing value, (.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a name, ;.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant, a missing value, (.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a name, ;.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant, a missing value, (.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a name, ;.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant, a missing value, (.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a name, ;.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The SAS System stopped processing this step because of errors.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
Also, I have the following code at the beginning of each program to close out any open files and to delete any data sets:
proc datasets library=work kill; run; quit;
ODS _ALL_ CLOSE;
... View more