Chapter Contents

Previous

Next
SAS/CONNECT User's Guide

Using the MEMTYPE= Option

If you specify the INLIB= and OUTLIB= options in the PROC UPLOAD statement, you can use the MEMTYPE= option to indicate what member types to upload. You can specify the MEMTYPE= option in

Valid values for the MEMTYPE= option are DATA, CATALOG (or CAT), MDDB, FDB, DMDB, VIEW, and ALL.

If you use this option in the SELECT and EXCLUDE statements, you can specify only one value. If you use this option in the PROC UPLOAD statement, you can specify a list of values enclosed in parenthesis, as shown here:

proc upload inlib=this outlib=that 
   memtype=(data catalog);

You can use the MEMTYPE= option in multiple places. When you do this, the UPLOAD procedure determines the type of each member

  1. by the value of the option in parenthesis immediately following the member name, if present.

  2. otherwise, by the value of the option after the slash in the SELECT or the EXCLUDE statement, if present.

  3. otherwise, by the value of the option in the PROC UPLOAD statement, if present.

  4. If you do not specify a member type, the UPLOAD procedure uses the default type, ALL.

See Purpose for examples that illustrate the use of the MEMTYPE= option.


Chapter Contents

Previous

Next

Top of Page

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