Chapter Contents |
Previous |
Next |
SAS/ACCESS Interface to SYSTEM 2000 Data Management Software: Reference |
To perform the incremental load with the DBLOAD procedure, use the following options and statements. In this example, the data file is TRANS.INCLOAD.
JCL statements; proc dbload dbms=s2k data=trans.incload; viewdesc=vlib.myview; load; run;
proc dbload dbms=s2k data=trans.incload;
viewdesc=vlib.myview;
Adding New Logical Entries Versus Updating Existing Logical Entries |
One simple way for the engine to tell the difference is whether you have issued the S2KLOAD statement. If so, the input observations are treated as new logical entries. Several observations may be collected to form each logical entry, but they are all new. Your observations must be sorted in order to achieve the correct result.
If you did not issue the S2KLOAD statement, your results depend on the order of your observations and whether your view descriptor contains a BY key. A BY key identifies the placement of inserted data records in an incremental load. See Using a BY Key to Resolve Ambiguous Inserts. When using a BY key, it is best (less ambiguous) if your view descriptor and the BY key begin at level 0, even if you are loading records only at some lower level.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.