Send File (file transfer started from the sending side)
Modify the entries in the member name 'XRSNDGO' in HULFT JCL Library that are shown in italics in the JCL example shown below, and execute the Send Request.
Confirm that the job ends successfully.
If an error occurs, refer to the explanation of the Send File messages in Error Codes and Messages to confirm the details of the error message output to SYSOUT, and take the appropriate measures for the cause of the error.
[Example of JCL]
//XRSNDGO JOB CLASS=A,MSGCLASS=B //*===================================================* //*== SEND FILE <<XRSNDGO>> ==* //*===================================================* //XRSNDGO EXEC PGM=XRSNDGO,REGION=4096K //STEPLIB DD DSN=HULFT.LOAD,DISP=SHR //XRFILE DD DSN=HULFT.FILE,DISP=SHR //XRHOST DD DSN=HULFT.HOST,DISP=SHR //XRQUE DD DSN=HULFT.QUEUE,DISP=SHR //XRSYSIN DD DSN=HULFT.PARMLIB(HULPRM),DISP=SHR //SYSOUT DD SYSOUT=* //XRCRD DD * FILE-ID=LOOPTEST //* FILE-ID=XXXXXXXX,DD=INDD,GRPID=XXXXXXXX,P=999,SYNC //
DD Name |
Value |
Description |
---|---|---|
STEPLIB |
HULFT.LOAD |
HULFT load module library |
XRFILE |
HULFT.FILE |
Send and Receive Management File |
XRHOST |
HULFT.HOST |
Host Information File |
XRQUE |
HULFT.QUEUE |
Send Control File |
XRSYSIN |
HULFT.PARMLIB(HULPRM) |
System Environment Settings File |
[Example of execution results for Send File program (XRSNDGO) (job log excerpt)]
J E S 2 J O B L O G IEF142I XRSNDGO XRSNDGO - STEP WAS EXECUTED - COND CODE 0000 * XRSNDGO * FILE-ID:LOOPTEST **NORMAL END** ******************* Bottom of data ***************-CAPS OFF-**