z/OS Example - MultiLoad

Teradata® MultiLoad Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
MultiLoad
Release Number
20.00
Published
October 2023
Language
English (United States)
Last Update
2024-03-18
dita:mapPath
lji1691576359330.ditamap
dita:ditavalPath
kju1619195148891.ditaval
dita:id
sga1478609868891
Product Category
Teradata Tools and Utilities

The following procedure invokes Teradata MultiLoad on a mainframe-attached z/OS client system:

//MLOADRUN JOB 1,'Teradata MultiLoad',
//           MSGCLASS=X,
//           NOTIFY=MLOAD,
//*          TYPRUN=SCAN,
//           CLASS=A
/*ROUTE PRINT TSO
//**************************************************
//*                                                *
//*        Teradata MultiLoad PROC                 *
//*                                                *
//**************************************************
//*
//MLOAD    PROC PRM=,INPUT=
//MLOADSTP     EXEC PGM=MLOAD,PARM='&PRM'
//STEPLIB  DD  DISP=SHR,DSN=TERADATA.APPLOAD
//         DD  DISP=SHR,DSN=TERADATA.TRLOAD
//SYSPRINT DD  SYSOUT=*
//SYSTERM  DD  SYSOUT=*
//SYSIN    DD  DISP=SHR,DSN=&INPUT
//         PEND
//**************************************************
//*                                                *
//*        RUN Teradata MultiLoad                  *
//*                                                *
//**************************************************
//MLOADRUN     EXEC PROC=MLOAD
//MLOADSTP.SYSIN   DD   DATA,DLM=##
.SET X TO 'FSADFDFSDFDS';
.DISPLAY '&X' TO FILE OUTPUT; ##
//OUTPUT DD SYSOUT=*