You can use PROC DBF
in the
z/OS environment if your site has a license for
SAS/ACCESS
for PC File Formats.
The DBF procedure converts
files in DBF format to SAS data sets that are compatible with the
current SAS release. You can also use PROC DBF to convert SAS data
sets to files in DBF format.
Before you convert a
DBF file to a SAS file, you must first upload your DBF file from the
Windows or UNIX environments to the
z/OS environment, using a mechanism
such as FTP (file transfer protocol). If you are licensed for
SAS/CONNECT,
you can use PROC UPLOAD:
filename out1 'sasdemo.emp.dbf';
proc upload infile='c:\employee\emp.dbf'
outfile=out1 binary;
run;
In the
z/OS environment,
sequential data sets are recommended for use with DBF, with the following
attributes:
The following example illustrates the specification
of attributes for a sequential data set:
sasdemo.emp.dbf = (DSORG=PS,RECFM=FS,LRECL=6160,BLKSIZE=6160)
PROC DBF produces one
output file but no printed output. The output file contains the same
information as the input file but in a different format.
The DBF procedure works
with DBF files created by all the current versions and releases of
dBASE (II, III, III PLUS, IV, and 5.0) and with most DBF files that
are created by other software products.