DATA Step, Macro, Functions and more

how to derive like this?

Accepted Solution Solved
Reply
Contributor
Posts: 23
Accepted Solution

how to derive like this?

 

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

 

I want like..

 s= 97

 

Please help.


Accepted Solutions
Solution
‎05-18-2017 02:55 PM
Super User
Posts: 10,538

Re: how to derive like this?

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


All Replies
Super User
Super User
Posts: 7,413

Re: how to derive like this?

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;
Contributor
Posts: 23

Re: how to derive like this?

No worries.

Super User
Posts: 6,963

Re: how to derive like this?

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎05-18-2017 02:55 PM
Super User
Posts: 10,538

Re: how to derive like this?

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.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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