In order to create a SAS file in a foreign format for a supported
member type, use the OUTREP= option in the DATA step. The OUTREP=
option applies the foreign format to the specified data set.
In this example, assume
that the native format is a Windows representation, which is being
overridden by the foreign format, HP_UX_64:
data chem.grades (outrep=HP_UX_64);
input student $ test1 test2 final;
datalines;
Fred 66 80 70
Wilma 97 91 98
run;
In this example, the
data set GRADES is created in the foreign format, HP_UX_64.
For supported values
for the OUTREP= option,
see the LIBNAME Statement in SAS Statements: Reference or the OUTREP= option in
SAS Data Set Options: Reference.