Amadeus cookies policy - you'll see this message only once.

Amadeus use cookies on this website. They help us to know a little bit about you and how you use our website, which improves the browsing experience and marketing - both for you and for others. They are stored locally on your computer or mobile device. To accept cookies, continue browsing as normal. Or, go to the privacy policy for more information.

Using the IFC and IFN Functions

In SAS 9, you can use the IFC and IFN functions to evaluate an expression and return a value for the condition being true and another for it being false. IFC returns a character value and IFN returns a numeric value. Note that when using the IFC function, you need to specify the length of the character variable, otherwise a default length of 200 is used.

1. using the and IFN functions

2. using the and IFN functions