BookmarkSubscribeRSS Feed
abhityagi
Obsidian | Level 7

Hi,

 

I have a sas dataset and in that dataset I have a column and there we should have 4 record in that column. for ie. JAN,FEB,MAR,APR. if any one is missing then its an issue and i have another icolumn with the name issue and that should get updated if any value is missing.

 

 

3 REPLIES 3
Allaluiah
Quartz | Level 8

4 records only?

 

Why do you need SAS ?

Why do you need to automate ?

 

2 to 3 mins manual work will do plus that will help keep people stay employed 🙂

abhityagi
Obsidian | Level 7

This is because those 4 records can be duplicates. and it can reach to million.

 

thanks,

Abhishek

Reeza
Super User
You need to provide a lot more details of your actual problem. Please post a small sample data set and expected output, which would help a lot more.

For example, how do you know what values should exist? To me if I find Jan, Feb, March, I would say March is not correct because its more than 3 letters?
How do you know you need 4 rows?

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1744 views
  • 0 likes
  • 3 in conversation