Creating a Variant Substitution Using GENERATE VARDEF Command - zOS

Creating a Universal Connector Variant Definition Using the GENERATE VARDEF Command - z/OS

SAP variants often have many parameters. Manually creating Universal Connector variant definitions can be tedious and time consuming.

Universal Connector offers a function that generates a complete variant definition based on a pre-existing template variant on the SAP system. The generated variant definition then can be used with a Universal Connector SUBMIT or MODIFY command to prepare a variant for a job run.

The following example demonstrates the use of the GENERATE VARDEF command.


SYSIN Options

SYSIN options used in this example are:

Command Options

Description

-dest

Named set of connection parameters (destination) 'CF5'. These connection parameters are used for communications with the SAP system. The default file for destination parameters is #HLQ.UNV.USPRFC00.

-client

SAP client number that the Universal Connector will communicate with.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

-generate

Instructs Universal Connector to generate the specified variant definition.

-abapname

Name of the ABAP program that the template variant belongs to.

-variant

Name of the variant that Universal Connector will use as a template for generation.

Components

Universal Connector for z/OS