Examples of UNLOAD PLUS jobs
Each example includes the following information:
A description of the unload job
The UNLOAD PLUS job stream
The SYSPRINT from the job
Some examples show additional information that might be useful to understand a particular feature or to see the results of the unload job.
All of these examples have the following common properties:
These examples use a single BMC product load library, assuming that this library contains the UNLOAD PLUS load files and the common component load files that UNLOAD PLUS requires.
The examples use minimal data set space allocations in the JCL.
You can find copies of the JCL for these examples in members ADUXMnn (where nn is the example number) in the HLQ.LLQCNTL installation data set (where HLQ is the high-level qualifier specified during installation and LLQ is the low-level qualifier or prefix set during installation). The HLQ.LLQCNTL data set also includes the member ADUXM00 that contains the following elements:
DDL for the table spaces
Sample data to load into the table spaces
Load jobs to load the data
For syntax details, see Command and syntax reference. For information about JCL statement requirements, see Building the UNLOAD PLUS job.
Use the following table to locate an example of a specific unload type or option:
Functions | Relevant examples |
---|---|
Unload features | |
Change overpunch values during unload | |
Convert data during unload | |
Translate data during unload | |
Create a new field during unload | |
Use multiple SELECT statements | |
Unload from prior image copy | |
Unload an entire table space | |
Use a DDLIN file | |
Unload to a CSV file | |
Unload to Unicode format | |
Unload selected columns | |
Unload selected partitions | |
Unload selected rows | |
Use a subselect to unload selected rows | |
Use a join to unload selected rows | |
Use columnar functions during unload | |
Unload using DB2 dynamic SQL | |
Handle an abnormal termination | |
Specify a nonstandard null indicator | |
Unload zoned decimal data | |
Use high-speed data migration with LOADPLUS | |
Unload XML data | |
Unload LOB data | |
Write to referenced files | |
Object types | |
Nonpartitioned table space | |
Partitioned table space | |
DSN1COPY | |
Full image copy | |
Incremental image copy | |
Command options | |
ACTIVE NO | |
ACTIVE YES | |
ANALYZE DB2STATS | |
AUTOTAG | |
CNTLCARDS | |
CNTLDDN | |
CONSISTENT YES | |
CURRENTDEGREE | |
DATEFMT | |
DELETEFILES | |
DIR | |
DIRECT NO | |
DIRECT YES | |
DSNAME | |
DSNTYPE | |
ENUMROWS | |
ESTROWS | |
FILTERPART | |
FORMAT | |
FIXEDVARCHAR | |
IF NULL VALUE or IF predicate VALUE | |
IMAGECOPY | |
INCREMENTAL | |
INFILE | |
INTERVAL | |
INTO | |
LIMIT | |
NULLCHAR | |
NULLTYPE | |
OBID | |
ON FAILURE | |
ORDER YES | |
ORDER BY | |
OUTPUT | |
PART | |
RECORDID | |
RETCODE | |
SELECT | All examples except 18 |
SHRLEVEL CHANGE | |
SORTDEVT | |
SPACE | |
SUBSETS | |
TABLESPACE | |
TSFMT | |
UNLOADDN | |
UNICODE | |
UNIT | |
WHERE clause | |
XBMID | |
ZONEDDECOVP |
The following topics present several examples of jobs for the UNLOAD PLUS product:
- Example 1 — Unloading partitions to separate data sets
- Example 2 — Unloading columns in clustering order
- Example 3 — Unloading multiple tables to a single data set
- Example 4 — Unloading while allowing read write access to the table space
- Example 5 — Unloading data from a DSN1COPY
- Example 6 — Unloading a full image copy
- Example 7 — Using FILTERPART
- Example 8 — Using multiple SELECT statements
- Example 9 — Unloading from multiple table spaces
- Example 10 — Unloading from incremental image copies
- Example 11 — Using a DDLIN data set
- Example 12 — Unloading to CSV format
- Example 13 — Using Db2 dynamic SQL (DIRECT NO) and Db2 parallelism
- Example 14 — Handling an abnormal termination
- Example 15 — Unloading LOB and XML data; using nonstandard null indicators
- Example 16 — Using dynamic allocation
- Example 17 — Changing overpunch values in zoned decimal data
- Example 18 — Unloading a table space and loading data as Unicode
- Example 19 — Unloading data to LOADPLUS
Comments
Log in or register to comment.