Chapter Contents

Previous

Next
SAS/CONNECT User's Guide

Example 2. CEDA: Using the OUTREP= Option in a DATA Step


Purpose

In the following example, an administrator who uses an OS/390 environment may want to create a file on an NFS system. The readers of this file are all operating under HP UNIX environments. The creator can force the data representation to be in the readers' format by specifying OUTREP=HP_UX. The readers will get better performance because reading the file does not require any data conversion.


Program

DATA A(OUTREP=HP_UX);
   INFILE file-specification;
   INPUT student $ test1 test2 test3 final;
   total = test1+test2+test3+final;
   grade = total/4.0;
RUN;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.