- 论坛徽章:
- 0
|
如何将AS/400中的SPOOL FILE传送到PC机上
另外用400的命令也可以,不过稍微麻烦点
Download Spool file from AS/400 to PC Procedure
Step 1 Position your cursor to the spool file and get some information as : File, File NBR, JOB,USER etc.
eg: WRKSPLF and press Enter
Work with All Spooled Files
Type options, press Enter.
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
8=Attributes 9=Work with printing status
File
Opt File Nbr Job User Number Queue Library
GL575PT 1 GLRPTUPDB 166790 QPRINT QGPL
CS721PT 1 BANK_BALNC 166791 QPRINT QGPL
PL391PT 1 PLSUPITEMS 166792 QPRINT QGPL
PL373PT2 1 PLCREDBALS 166793 QPRINT QGPL
PL373PT1 2 PLCREDBALS 166793 QPRINT QGPL
SL373PT2 1 SLDEBTBALS 166794 QPRINT QGPL
SL373PT1 2 SLDEBTBALS 166794 QPRINT QGPL
QSYSPRT 1 QPADEV0025 167495 PC01S1 QUSRSYS
QSYSPRT 1 QPADEV0025 167497 PC01S1 QUSRSYS
QPDSPJOB 1 QPADEV0008 167667 QPRINT QGPL
More...
Parameters for options 1, 2, 3 or command
===>;
F3=Exit F10=View 2 F11=View 1 F12=Cancel F22=Printers F24=More keys
CONNECTED 5250 1 1
Step 2: Creat a PF file in AS/400
eg: CRTPF JBA/PL373PT2 , then Press F4
Create Physical File (CRTPF)
Type choices, press Enter.
File . . . . . . . . . . . . . . >; PL373PT2 Name
Library . . . . . . . . . . . >; JBA Name, *CURLIB
Source file . . . . . . . . . . QDDSSRC Name
Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Source member . . . . . . . . . *FILE Name, *FILE
Record length, if no DDS . . . . >; 132 Number
Generation severity level . . . 20 0-30
Flagging severity level . . . . 0 0-30
File type . . . . . . . . . . . *DATA *DATA, *SRC
Member, if desired . . . . . . . *FILE Name, *FILE, *NONE
User specified DBCS data . . . . >; *YES *NO, *YES
Text 'description' . . . . . . . *SRCMBRTXT
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
CONNECTED 5250 18 35
Step 3: Copy Spool file to PF
eg: CPYSPLF then Press F4
Copy Spooled File (CPYSPLF)
Type choices, press Enter.
Spooled file . . . . . . . . . . >; PL373PT2 Name
To data base file . . . . . . . >; PL373PT2 Name
Library . . . . . . . . . . . >; JBA Name, *LIBL, *CURLIB
Job name . . . . . . . . . . . . >; PLCREDBALS Name, *
User . . . . . . . . . . . . . >; Name
Number . . . . . . . . . . . . >; 166793 000000-999999
Spooled file number . . . . . . >; 1 1-9999, *ONLY, *LAST
To member . . . . . . . . . . . *FIRST Name, *FIRST
Replace or add records . . . . . *REPLACE *REPLACE, *ADD
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
CONNECTED 5250 5 37
Step 4 Using FTP or other funcution of any one Vritusl Terminal tools downloading the file from AS/400 host ot PC , following is the example by using MPTN transfer session |
|