• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

如何将AS/400中的SPOOL FILE传送到PC机上

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 75次 | 进入软件测试论坛讨论

领测软件测试网
请问如何将AS/400中的SPOOL FILE传送到PC机上?多谢!

 Charlotte 回复于:2003-07-09 11:14:15
用AS400 OPERATIONS NAVIGATOR
直接把SPOOL FILE拖到PC上

 kimdai 回复于:2003-07-10 22:37:00
另外用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:27
精华

 hanyu 回复于:2003-07-11 13:00:32
设为精彩回帖

 多情包子 回复于:2003-08-03 15:20:13
只要用cpysplf命令把splf保存为pf就可以了,pf如何传到pc就容易的多了!

 cendy888 回复于:2003-08-03 15:56:24
cpysplf时出现"copy request  failed for file qrpgsrc in usr2003",是什么原因呢?

 cendy888 回复于:2003-08-03 16:49:41
Spooled file . . . . . . . . . . > PL373PT2 Name 
To data base file . . . . . . . > PL373PT2 Name 

Library . . . . . . . . . . . > JBA Name, *LIBL, *CURLIB 
[color=red:ce20c32f3a]Job name . . . . . . . . . . . . > PLCREDBALS Name, * [/color:ce20c32f3a]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:13
修改輸出打印機,

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

找到打印機,

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

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网