Hi folks, I don't know if I am in the right section of this forum for my question. If not, I am sorry. Here's my question. I have a multiple data files produced each month. I would like to know if there's a way to use PROC CONTENTS in a way to ensure that the data in the latest textfile (ex: Sep 2019) are "good". By good, I mean that the data are similar from the last files, the number of data is constant or increasing, etc. I don't know if my question is clear. I want to find a way to program a SAS code that will "check" each new produced file to look for any irregularities comparing to the past files. I know that PROC contents produce great informations like type of variables, # of obs, type of variable, etc. I don't know if there's a way to use thoses informations to gather all of them into one dataset and use it to check if our newest datas are "potent". Since English isn't my native language, I hope that my question for you guys is clear enough. I was thinking of gathering the output of PROC CONTENTS for each file into a dataset. By example, If I keep only the variable NAME, TYPE, LENGTH, VARNUM, NPOS, NOBS, is there a way to have it like this : Columns : NAME, TYPE, LENGTH, VARNUM, NPOS, NOBS Lines : Datas of each files I really hope that I'm clear... Thanks in advance!
... View more