Software Reference Manual - NetEx
Software Reference Manual - NetEx
Software Reference Manual - NetEx
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
JCL and Control Parameters for BFX<br />
This section describes the JCL used to execute the BFXTR and BFXTI programs and the control parameters<br />
for these two programs. These control parameters, which may be control statements or parameters associated<br />
with a control statement, are used when executing the BFXTI and BFXTR programs.<br />
JCL For Executing the BFXTI and BFXTR Programs<br />
An example of the JCL needed to start and run the BFXTI and BFXTR programs is shown in Figure 6. Complete<br />
examples of BFXTI and BFXTR applications are contained in the “Applications” section on page 25.<br />
//jobname1 JOB accounting information<br />
//* Execute BFX Transfer Initiate program<br />
// EXEC PGM=BFXTI<br />
//STEPLIB DD bfx load module library<br />
//* Define output for error or status messages<br />
//SYSPRINT DD SYSOUT=A<br />
//* Optional file containing remote job control statements<br />
//RMTJOB DD remote job file spec<br />
//* Define file information for input or output files<br />
//FILEIN DD input file spec<br />
//* or<br />
//FILEOUT DD output file spec<br />
//* Optional file of control statements<br />
//SYSIN DD control file spec<br />
If the partner system is also a z/OS system, the contents of the RMTJOB file<br />
would be:<br />
//jobname2 JOB accounting information<br />
// EXEC PGM=BFXTR,PARM='control statement'<br />
//STEPLIB DD bfx load module library<br />
//SYSPRINT DD SYSOUT=A<br />
//FILEIN DD input file spec<br />
//* or<br />
//FILEOUT DD output file spec<br />
//SYSIN DD control file spec<br />
The following statements appear in Figure 6:<br />
JOB<br />
Figure 6. BFXTI / BFXTR example JCL<br />
This parameter defines the jobname and accounting information for the BFXTI program.<br />
EXEC PGM=BFXTI<br />
This statement invokes the transfer initiate part of BFX. The program does not need to be authorized<br />
in any way. No parameters are required. However, if a single file is to be transferred, the single control<br />
statement may be supplied on a PARM statement. If a PARM statement is supplied, the SYSIN<br />
dataset will be ignored.<br />
MAN-REF-H211-05 JCL and Control Parameters for BFX Page 11