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: