xdadd

Top  Previous  Next

xdadd adds parameters to the substitution phase for the following PROC called.

Both standard input and declared DD (dlbl_ environments) may be substituted. If options --lineseq or --blocked are specified a temporary file is created and given to the called PROC.

The --blocked option provides file in blocked mode (without newline characters), for the specified record size. The --lineseq, simply provides a standard line sequential file.

Syntax

xdadd [options] <stepname> [<ddname>] [<args>]

Options

-p, --pid <PID>

specifies PID number

-i, --stdin

prepares data for step standard input substitution (SYSIN/stdin)

-l, --lineseq

prepares temporary line sequential file for DD/DLBL substitution

-b, --blocked <rs>

prepares temporary sequential file, blocked <RS>, for DD/DLBL substitution

Parameters

stepname

is the name of the step for which substitution is to be operated

ddname

is the name of the DD entry in the called PROC for which substitution is to be operated

args

are the arguments for substitution

Environment variables

Environment name

Description

PID

Process identifier (PID) of the main caller script.

PROCLIB

Path for called scripts (PATH)

XJCLLOG

environment value MUST be set to a unique file identifier for any JOB using xlst (see xrun).