DATA Step, Macro, Functions and more

ERROR 22-322: Expecting a name.

Reply
Occasional Contributor ssv
Occasional Contributor
Posts: 9

ERROR 22-322: Expecting a name.

[ Edited ]
 
Super User
Super User
Posts: 8,075

Re: ERROR 22-322: Expecting a name.

If you use a FORMAT like 20. in your INPUT statement

@43 Job_Title @ 20.

then SAS expects a variable name to precede the format.

 

Did you mean to read JOB_TITLE as a character variable? So perhaps you wanted.

68 @43 Job_Title $20.

 

 

 

Occasional Contributor ssv
Occasional Contributor
Posts: 9

Re: ERROR 22-322: Expecting a name.

Thank you so much Tom... I appreciate your help. By mistake i inserted @ instead of $.

Got the result now.

Thank you for your response. Have a Good one.

Ask a Question
Discussion stats
  • 2 replies
  • 1687 views
  • 0 likes
  • 2 in conversation