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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.