BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mssh2712
Calcite | Level 5

 

p= (qr)-ab67(9/9) (97))))

 

I want like..

 s= 97

 

Please help.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Is that supposed to be a formula?

Is there any reason that (9/9) does not resolve to 1? And if it does then are you multiplying by 1? Why bother if it is a constant?

Why do you have (qr) instead of just qr?

Why do you have 3 unmatched )?

What is the relation between p and s? You don't mention it anywhere.

View solution in original post

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Sorry, that post is totally meaningless.  What is it you want, post test data in the form of a datastep and what the output should look like.  Also post what you have tried, logs etc. if relevant.  Just posting some formula and then saying you want something not related to the fomula to be set value will just get your answers like:

data want;
  s=97;
run;
mssh2712
Calcite | Level 5

No worries.

Kurt_Bremser
Super User

Glad I'm not the only one who has no clue what the OP wants.

To @mssh2712: this is POSITIVELY not the way to phrase a proper question. Really not. Never.

ballardw
Super User

Is that supposed to be a formula?

Is there any reason that (9/9) does not resolve to 1? And if it does then are you multiplying by 1? Why bother if it is a constant?

Why do you have (qr) instead of just qr?

Why do you have 3 unmatched )?

What is the relation between p and s? You don't mention it anywhere.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 1939 views
  • 0 likes
  • 4 in conversation