Translating Host Spool Files:

The PRTXTOPC Command

The PRTXTOPC command translates host spool files that reside on an AS/400 print queue, prior to transferring them to a PC. After the file is translated, use the FROM3XB command (with no translation) to transfer the print file to the PC.

Before you transfer the file to the PC, you must change the file from a spool file to a physical file. To do this, use the AS/400 command CPYSPLF. You can run CPYSPLF independent of the PRTXTOPC command, or within the PRTXTOPC command.

If you run CPYSPLF independently, enter *TRANSLATE in the ACTION parameter on the PRTXTOPC prompt screen. To run CPYSPLF within the PRTXTOPC command, enter *COPYPRT in the ACTION parameter.

Figure 6-4 The PRTXTPC prompt screen

Copyprt spool file - PC/XLT: (PRTXTOPC)

Type choices, press Enter.

 

 

PC data file for use by TOPC: .

 

Name

Library name:

. . . . . . . .

*LIBL

Name, *LIBL

PCDATA member name:

*FILE

Name, *FILE

Action to perform:

 

*COPYPRT, *TRANSLATE

Spool file name:

. . . . . . . .

QPRINT

Name

Spool file number:

*LAST

0000-9999, *ONLY, *LAST

Job name or * for current job:

*

Name, *

User name: . .

. . . . . . . .

 

Name, ' '

Job number: .

. . . . . . . .

 

000000-999999, ' '

Name of "COPYSPLF" on host: . .

PCPRINT

Name

Library name:

. . . . . . . .

*LIBL

Name, *LIBL

COPYFILE member name:

*FILE

Name, *FILE

Control character:

*FCFC

*FCFC, *PRTCTL, *NONE

PAGE SIZE Length

--lines/page: .

066

001-255

"PAGE WINDOW"...

FROM column: . .

001

001-999

TO column: . . .

. . . . . . . .

132

001-999

More...

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

ETU400 User Guide 011603

6-11

Page 86
Image 86
Nlynx ETU400 manual Translating Host Spool Files Prtxtopc Command, Last