You are still using DDE? The technique is outdated for years, you should really switch to something more up to date, like libname xlsx, or ODS.
The proper tool for manipulating MS Office files is VBA. Use that.
Skipping certain observations in SAS datasets is done with WHERE conditions or a subsetting IF.
Adding to what @andreas_lds writes: You really should read below blog before writing any new SAS programs using DDE.
https://blogs.sas.com/content/sasdummy/2014/10/14/dde-is-doa/
put '09'x;
that will skip one line.
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.