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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1059 views
  • 0 likes
  • 4 in conversation