Skip to content

Send.exe and Receive.exe

Reflection provides two command line utilities, Send.exe and Receive.exe, with which you can perform mainframe file transfers from a DOS command line prompt.

Send.exe

Use Send.exe to send a file to your mainframe host from a DOS prompt. The syntax for Send.exe is identical to the syntax of the HLLAPI function Send File (90).

Before sending a file, you must be connected to the host and at a ready prompt.

To send a file to the host using Send.exe, type the following from the DOS prompt:

send 
     pc_filename 
     PresentationSpace_shortname:
     host_filename [IND$FILE options]

Receive.exe

Use Receive.exe to receive a file from your mainframe host from a DOS prompt. The syntax for Receive.exe is identical to the syntax of the HLLAPI function Receive File (91).

Before receiving a file you must be connected to the host and at a ready prompt.

To receive a file from the host using Receive.exe, type the following from the DOS prompt:

receive 
     pc_filename 
     PresentationSpace_shortname:
     host_filename [IND$FILE options]

More information