BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Satori
Quartz | Level 8

my code:

data bvd.ac
infile '/data/bvd/ac/financials_and_ratios.txt' dlm='09'x missover dsd lrecl=32767 firstobs=2 truncover;
input
ID $12.
Code $2.
Filing_type $21.
Closing_date :yymmdd10.
Number_of_months $2.
Audit_status $1.

.

.

.

run;

 

my error:

data bvd.ac
infile '/data/bvd/AcademicsSample/Industry-Global_financials_and_ratios.txt' dlm='09'x missover dsd lrecl=32767 firstobs=2 truncover;
_ _
22 22
200 200
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.

ERROR 200-322: The symbol is not recognized and will be ignored.

 

what am I doing wrong?

1 ACCEPTED SOLUTION
1 REPLY 1
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 622 views
  • 0 likes
  • 2 in conversation