Is there a way to skp the last row of data within a data file using SAS DI Studio?
Regards,
Jonathan
If the source data is in a flatfile, you can tweak the User Written file object to do this:
For tables/SAS data sets, you probably nee to do a user written code (transformation, or in a pre/post code).
That sounds like a good solution but we do not have write access to the file to change it.
The file reader is being used to read in the data.
I will look into using the user written code to remove the last row from the data source.
Regards,
Jonathan
Disregard last statement.
Testing concept.
Regards,
Jonathan
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.