Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Bulk Data Movement
  3. PowerExchange Listener
  4. Adabas Bulk Data Movement
  5. Datacom Bulk Data Movement
  6. DB2 for i5/OS Bulk Data Movement
  7. DB2 for Linux, UNIX, and Windows Bulk Data Movement
  8. DB2 for z/OS Bulk Data Movement
  9. IDMS Bulk Data Movement
  10. IMS Bulk Data Movement
  11. Microsoft SQL Server Bulk Data Movement
  12. Oracle Bulk Data Movement
  13. Sequential File Bulk Data Movement
  14. VSAM Bulk Data Movement
  15. Writing Data with Fault Tolerance
  16. Monitoring and Tuning Options

Bulk Data Movement Guide

Bulk Data Movement Guide

Substitution Variables in the Loader JCL Templates

Substitution Variables in the Loader JCL Templates

The JCL and control card templates DB2LDCTL, DB2LDCTP, DB2LDJCL, and DB2LDJCP include substitution variables. Prior to submitting a job to z/OS, PowerExchange resolves the defined substitution variables with the appropriate values.
The following table describes these variables:
Variable
Description
%ENDJOB
16-character input string for DTLNTS. Enables the PowerExchange Listener to determine if the job has ended.
%JOBCLASS
Substituted for the job class specified in the loader parameters.
%JOBFILE
Substituted for the name of the file that contains the JCL skeleton used to build the job.
%N
n
Substitutes an incrementing number of 1 to 7 significant digits.
%PARTDDN
Generates the DDNAME for the input data for a partition. Has the form PAR
nnnn
, where
nnnn
represents the partition number. The skeleton JCL can contain multiple instances of this variable. Unused instances are set to PRTnnnn.
%PN
n
Substitutes a partition number of 1 to 4 significant digits only if the load is for a partitioned table. Do not use with a load JCL skeleton for a non-partitioned table.
%PWD
Password. Will appear in the plaintext in the job.
%SSID
DB2 subsystem ID of the load target.
%STRTJOB
16-character input string for DTLNTS. Enables the PowerExchange Listener to determine if the job has started.
%SYSIN
Substitutes the name of the file containing the loader control statements.
%SYSPRINT
Substitutes the name of the file to which the loader messages are written.
%SYSREC
Substitutes the DSNAME for the input data. For unused instances in a partitioned load, this value is set to NULLFILE.
%USER
User ID.

0 COMMENTS

We’d like to hear from you!