Category Focus

Utility

Back to main article

Cross-Platform Binary File Copy

SAS macro to copy any file byte by byte using binary input/output streams, offering an operating system independent copy method.

Codes in same category

dirlist.sas - Macro to list files

This SAS macro allows listing the names of all files in a specified folder lo...

Check for Folder Existence on SAS Drive

This macro checks if a specified folder exists on SAS Drive. It returns '1' i...

Checking for File Existence on SAS Drive

This SAS macro checks if a specified file exists on SAS Drive. It returns 1 i...

Defining HTTP Headers for SASjs/server

This SAS macro defines custom HTTP headers for SASjs server responses. It wor...

Macro mf_mkdir - Recursive Directory Creation

This SAS macro, `mf_mkdir`, creates a directory on the file system, including...

List dataset variables

This macro returns the list of variables in a SAS dataset, with options to fo...

Generate a unique SAS libref

This macro generates a unique SAS libref by appending a numeric suffix to a g...

Dynamic Macro Execution on Metadata

Script dynamically generating macro calls for tables whose name contains a sp...

Display the content of the temporary macro catalog

This script uses PROC CATALOG to list the entries (compiled macros) of the te...

Macro lsfp2ds

Creates a SAS dataset from a list of Unix/Linux file names with full paths.

Create a SAS dataset from a list of Unix/Linux files

SAS macro to list Unix/Linux filenames and write them into a SAS dataset.

Example of writing with automatic page variables

The SAS script demonstrates the use of the FILE statement with the PRINT opti...

Related Documentation

Aucune documentation.
Need help?

Consultez notre Knowledge Hub pour plus de ressources.

Go to Hub