QRP
 
Loading...
Searching...
No Matches
include_macros.sas File Reference

Executes a include statement on all .sas files in a specified directory except those explicitly listed in the program. More...

Detailed Description

Executes a include statement on all .sas files in a specified directory except those explicitly listed in the program.

  • directory_listing creates a dataset with 1 row per file in the PROGRAM_DIR path location
  • This file is read in 1 row at a time and the file name is used in an include statement
Program inputs
None.
Program outputs
None.

Usage

include_macros(PROGRAM_DIR=/qrp/inputfiles/macros/);

Parameters
[in]PROGRAM_DIRlocation of directory containing programs to be included

SAS Macros Dependencies

None.

Note
Explicitly excluded files are runqrp.sas and qrp_report.sas because those are driver macros that will automatically execute QRP and QRP Report
This macro uses the directory_listing utility macro that creates a SAS dataset with a listing of all files and folders in a directory. This utility macro have the following parameters:
  • PATH: unquoted full directory path
  • OUTDS: two-level SAS dataset name for the output table
Author
Sentinel Coordinating Center (info@.nosp@m.sent.nosp@m.inels.nosp@m.yste.nosp@m.m.org)