Previous Topic

Next Topic

Book Contents

Book Index

Example 1

Member WORD:

++++*

* TRANSFER PARAMETERS

TYPE=BIN

LINESEP=NONE

PAGESEP=NONE

OUT=CDAM

REPENTRY=USER=ADMIN,NAME=%REPORT%,MIGRATE=MIGWORD

* ALLOCATION PARAMETERS

PREFIX=FTO 

ASSOC=DOC

* POST-PROCESSING PARAMETERS

WTO=’Report %REPORT%, group %GROUP% - has arrived’

According to this example, each file that is transferred with GROUP_ID (using the ‑d argument of Sesagent) of WORD is written to CDAM as is, without translation to EBCDIC and with dataset prefix FTO. JOBNAME and JOBID (the third and fourth subparameters of the -d argument), and associated extension DOC, is also used as parameters for CDAM.

The REPORT entry and SYSDATA record associated with the CDAM is then added to Active User file. The new REPORT entry and SYSDATA record are created for recipient ADMIN with a report name of REPORT_ID, where REPORT_ID is the second subparameter of the Sesagent -d argument, and is associated with the same JOBNAME, JOBID, and ASSOC parameters as CDAM. Migration mission MIGWORD is associated with the report.

A WTO message is issued when the transfer is completed.

Parent Topic

Examples