Chinaunix

标题: 如何将AS/400中的SPOOL FILE传送到PC机上 [打印本页]

作者: LVLIANG    时间: 2003-07-09 10:17
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
请问如何将AS/400中的SPOOL FILE传送到PC机上?多谢!
作者: Charlotte    时间: 2003-07-09 11:14
提示: 作者被禁止或删除 内容自动屏蔽
作者: kimdai    时间: 2003-07-10 22:37
标题: 如何将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
作者: pcas400    时间: 2003-07-11 08:09
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
精华
作者: hanyu    时间: 2003-07-11 13:00
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
设为精彩回帖
作者: 多情包子    时间: 2003-08-03 15:20
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
只要用cpysplf命令把splf保存为pf就可以了,pf如何传到pc就容易的多了!
作者: cendy888    时间: 2003-08-03 15:56
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
cpysplf时出现"copy request  failed for file qrpgsrc in usr2003",是什么原因呢?
作者: cendy888    时间: 2003-08-03 16:49
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
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

请问job name从可以那里知道呢?
作者: uomo    时间: 2004-01-28 10:30
标题: 如何将AS/400中的SPOOL FILE传送到PC机上
修改輸出打印機,

打開作業導航員(補丁後)

找到打印機,

找到作業,拖到桌面(文本)




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2