
Transferring Host Programs
The ETU commands PGMFROM3XB and PGMTO3XB allow you to transfer compiled executable host programs between a microcomputer and the host.
You can use these commands to transfer host programs to a micro so you can either run the host program on the micro, if you have appropriate PC software, or transfer the program to another host system. In the latter case, the PC serves as a link between two host systems.
To use these commands, you must sign on as the security officer, or be authorized to use the AS/400 programs QSCMATPG and QSCCRTPG.
NOTE: The PGMFROM3XB and PGMTO3XB commands are no longer compatible with versions of ETU prior to version 5.02. If you've transferred a program to the PC using a previous version of ETU, you cannot transfer it back to the AS/400 using ETU 5.02 or later.
NOTE: Do not use these commands to transfer host source code. To transfer source code, use the FROM3XB and TO3XB commands.
Transfer Host Programs to a Microcomputer:
The PGMFROM3XB Command
With the PGMFROM3XB command, you can transfer an executable host program to the micro.
To transfer a host program to a microcomputer, you supply the name of the microcomputer file in which to transfer the program, and the name of the host program and library.
This command does not translate the host program file from EBCDIC to ASCII. Because there is no translation, the file will be stored on the PC in EBCDIC.
Figure 5-7 The PGMFROM3X prompt screen
Transfer | 3X pgm | to micro file: (PGMFROM3XB) |
|
| ||
Type choices, press Enter. |
|
|
| |||
Qualified file | name: |
|
|
| ||
Program | name: | . . . . . . . . . |
| Name, generic* |
| |
Library name: | . . . . . . . . | *LIBL | Name, *LIBL |
| ||
Display | status | messages ?: . . . | *YES | *YES, *NO |
| |
|
|
|
|
|
| Bottom |
F3=Exit | F4=Prompt | F5=Refresh | F10=Additional parameters | F12=Cancel | ||
F13=How | to use | this display | F24=More keys |
|
|
ETU400 User Guide 011603 |