BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Can any one help how to make SAS XPT Transport file through programmatically in C#
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
Here is the record format. You'll have to write your own code.
http://support.sas.com/techsup/technote/ts140.html
deleted_user
Not applicable
I stuck up in padding the zeros to numeric fields.
for ex : I set the numeric feild length to 8. but the data value for that field is 1,so i padded 7 zeros front to number(00000001) . while writing that value to the XPT file its converting to exponential format '1.020426E-20'

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 1385 views
  • 0 likes
  • 2 in conversation