sas Copy a file, byte for byte

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

If you're using SAS to produce reporting of some sort, you're going to find yourself needing to copy a file at some point. I've mostly used this method for copying an excel template, and then dumping data via PROC EXPORT into the new file I've created.

This is a great example I've found from Chris Hemedinger (http://blogs.sas.com/content/sasdummy/2011/06/17/how-to-use-sas-data-step-to-copy-a-file-from-anywhere/).



Got any sas Question?