The Real Time Remote Access (RTRA) system uses SAS version 9.3 and data requests must be in the form of SAS programs in plain ASCII format. Statistics Canada does not provide programming assistance, or make modifications to the programs that are submitted. If a program does not run properly, a log will be returned with an explanation of why it failed.
- System limits
- There are no limits to the number of programs that you can submit during your contracted period of access. However, there is a maximum of 10 successful submissions per day.
- For each successful submission, no more than 10 Real Time Remote Access (RTRA) procedure macro calls are permitted, resulting in a maximum of 100 tabulations that can be created per day.
- When running your statistical analysis system (SAS) programs, please be advised that the maximum temporary space in SAS processing is 100 GB.
- A maximum of four or five variables can be specified in the class variable list, depending on the RTRA procedure macro.
- Class variables cannot contain any missing values.
- Each class variable may not have more than 500 distinct values.
- All observation counts in the SAS log returned to the user are replaced with xxxxxx, regardless of the observation count value.
- SAS restrictions
Certain SAS keywords/statements are not allowed through remote access. The following list is subject to periodic review and may be modified.
- Certain occurrences of % and &
- Comments of the form %*...;
- Writing permanent datasets to RTRA system disk space
Shell program: Test your code
In order to help you test your SAS code, a shell program and a SAS macro catalog are available for download.
Please open the shell program and follow the descriptions for the different sections of the program:
- This section shows you how to simulate the libname that will be created automatically by the RTRA system.
- Make sure you change the file path to point to where you have saved your test data.
- Do not use a different libname (it must be RTRAData).
- This section can be discarded for testing if you have created your own set of test data.
- Survey dummy datasets are available for use in this section. Please send your requests for dummy datasets and codebooks to: email@example.com.
- This section shows you how to point to the RTRA procedure macro to create your table.
- Change the name of the downloaded SAS macro catalog to “sasmacr”.
- Make sure you change the file path to point to where you have saved the SAS catalog provided (sasmacr.sas7bcat).
- This section shows you how to include your program and to run it.
- Make sure you change the file path to point to where you have saved your program.