08.11.2014 Views

Software Reference Manual - NetEx

Software Reference Manual - NetEx

Software Reference Manual - NetEx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The BFXTR and BFXTI programs continue processing. The BFXTR program then SENDs member<br />

NSEF001 over the network. BFXTI RECEIVEs it as MEMBER2, as specified by the OUT01 DD statement<br />

in the INITIATE procedure.<br />

The BFXTR and BFXTI programs continue processing. The BFXTI program SENDs member BMC over the<br />

network. BFXTR RECEIVEs it as MEMBER4, as specified by the OUT02 DD statement in the RESPOND<br />

procedure.<br />

BFXTR then terminates when it does not find any other BFX commands. BFXTI also terminates when it does<br />

not find any commands.<br />

Remote Job Submission<br />

Remote job submission is a special kind of job submission. Using remote job submission, a user can submit<br />

any job to the remote host (instead of a job that uses BFXTR). This batch job is then processed on the remote<br />

host.<br />

The user must provide a local job and a remote job. The local job simply executes BFXTI and issues a<br />

SUBMIT command. The remote job executes independently from BFX.<br />

BFXTI sends the remote job over the network to the BFXJS program on the remote host. BFXJS then submits<br />

the remote job on the remote host. BFXTI can then process other commands, or it terminates.<br />

Remote Job Submission Example<br />

Assume that a user on the local host wants to send a simple job that will erase a file on the remote host using<br />

remote job submission. The user writes the following local procedure:<br />

//SAMPLE1 JOB (ACCT),’EXAMPLE USING BFXTI’,<br />

// CLASS=A,MSGLEVEL=(1,1),<br />

// MSGCLASS=V,NOTIFY=&SYSUID<br />

//BFXTI EXEC PGM=BFXTI<br />

//STEPLIB DD DSN=BFX.R13.BFXLOAD,DISP=SHR<br />

//SYSPRINT DD SYSOUT=*<br />

//SYSIN DD *<br />

SUBMIT TO=ZOS2,ID=ACCT<br />

/*<br />

//RMTJOB DD DATA,DLM=ZZ<br />

//JOBNAME JOB (ACCT),'REMOTE JOB',<br />

// CLASS=A,MSGLEVEL=(1,1),<br />

// MSGCLASS=A,NOTIFY=SAMPLE<br />

//STEP1 EXEC PGM=IEFBR14<br />

//IN DD DSN=OLD.FILE(MEMBER),DISP=(OLD,DELETE)<br />

//SYSPRINT DD SYSOUT=*<br />

//<br />

ZZ<br />

//<br />

Figure 5. Remote Job Submission<br />

Notice that the remote job is encapsulated in the local job command statements.<br />

The following diagrams and text describe the events that occur when this BFX transfer takes place.<br />

MAN-REF-H211-05 Introduction Page 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!