Australian Bureau of Statistics

Rate the ABS website
ABS Home > Statistics > By Catalogue Number
ABS @ Facebook ABS @ Twitter ABS RSS ABS Email notification service
1406.0.55.002 - User Manual: ABS Remote Access Data Laboratory (RADL), Mar 2006  
Latest ISSUE Released at 11:30 AM (CANBERRA TIME) 22/02/2012  Reissue
   Page tools: Print Print Page Print all pages in this productPrint All RSS Feed RSS Bookmark and Share Search this Product  
Contents >> Submitting a request in the RADL >> How to save files to your personal workspace

HOW TO SAVE FILES TO YOUR PERSONAL WORKSPACE

Users can save SAS, SPSS and Stata files in their personal workspace within the RADL. This workspace is accessible for all the jobs you submit, allowing you to save and reuse files across sessions. Users are not able to access files outside their workspace and cannot share saved dataset with other users. It is not necessary to specify the location when saving files. To manage the files that you have saved to your workspace, refer to the File management chapter of this manual.

Procedures for saving and reusing files are:

SAS
A library reference of 'saved' will be created for all SAS jobs. This can be used for saving derived SAS datasets to your workspace and for accessing previously saved datasets. To save a SAS output dataset to your personal workspace use:

data saved.MYSAS (keep = ABSHID ABSPID age sex income);
run;

To retrieve this dataset in a subsequent RADL job use data=saved.MYSAS. For example, to create a frequency table from this saved dataset use:

proc freq data=saved.MYSAS;
tables age*sex;
run;

SPSS
A library reference of 'saved' will be created for all SPSS jobs. This can be used for saving derived SPSS datasets to your workspace and for accessing previously saved datasets. To save an SPSS output dataset to your personal workspace use:

save outfile = saved’MYSPSS’.

To retrieve this dataset in a subsequent RADL job use:

get file=saved’MYSPSS’
Note: the single quote marks must be used.

Stata
A macro variable is automatically generated that helps you reference files you want to save and reuse in later jobs. The macro SAVED (in uppercase) points to your personal data store. Within RADL this macro resolves to a text string that contains the path name to your personal workspace. When you save a dataset you need to refer to it using SAVED as a prefix. Since the path name may contain spaces, it is best to put all RADL macro invocations in double quotes. To save a dataset use the command:

save " `SAVED'MYSTATA"

To retrieve this dataset in a subsequent RADL job use:

use " `SAVED'MYSTATA"
Note: when using this workspace reference take care to use the correct characters for the single quotes.

Previous PageNext Page


Bookmark and Share. Opens in a new window


Commonwealth of Australia 2014

Unless otherwise noted, content on this website is licensed under a Creative Commons Attribution 2.5 Australia Licence together with any terms, conditions and exclusions as set out in the website Copyright notice. For permission to do anything beyond the scope of this licence and copyright terms contact us.