varshabbansal
varshabbansal

Reputation: 1

how to resolve error in sas eg error: @echo off statement is not in proper order

sas error 180-322: statement is not valid or not used in proper order.

@echo off

@echo off
rem/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/
call d:/opt/----

please give me the soluion to resolve the error of @echo off

Upvotes: 0

Views: 75

Answers (1)

AlanC
AlanC

Reputation: 582

The code you have listed is DOS command line code, not SAS, as Tom mentioned. It is for a .bat or .cmd file. Calling it direct in SAS is not going to work. You can create a file with it and name that file .cmd or .bat then execute it via the SAS X command.

However, tell us what you are trying to do and we might be able to help. Use PowerShell vs DOS command language, anyways.

Upvotes: 1

Related Questions