You already categorized your data into two groups:
one group for jet Airways and air india and second group for all other airlines
It is not clear what do you want.
If you can identify the group inside your data,
then you can add a flag or a category variable with appropriate value,
like 1 or 0, "Jet" or " ", etc.
Can you supply a test data with both categories data, and define the rules how
to distinguish between the groups - what variables to check for what values ?
You asked for a code, but you did not gave any example of input (few lines) nor of the rules of
how to decide to which category should be.
Your note is "from airline name we have to categorize data" -
can you supply airline names and define their categories?
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.