
Chapter 2. Overview of data movers 13
SELECT JOB,MAX(SALARY)AS MAX_SAL,MIN(SALARY)AS MIN_SAL
FROM DSN8710.EMP
GROUP BY JOB
ENDEXEC
LOAD DATA REPLACE
INCURSOR C1
INTO TABLE EMPSUMMARY
As you can see, it is a single job process that replaces the typical sequence of jobs of
unloading, file transfer, and loading the data, locally or remotely.
For more details, see Chapter 4, “Load with DB2 for z/OS” on page 51 and DB2 UDB for
OS/390 and z/OS V7 Utility Guide and Reference, SC26-9945-03.
The Cross Loader with its EXEC SQL statement, is a very flexible and handy function of the
Load utility. It combines the flexibility of the SQL statement and the perfor ...