免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3201 | 回复: 8
打印 上一主题 下一主题

如何将AS/400中的SPOOL FILE传送到PC机上 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-09 10:17 |只看该作者 |倒序浏览
请问如何将AS/400中的SPOOL FILE传送到PC机上?多谢!
Charlotte 该用户已被删除
2 [报告]
发表于 2003-07-09 11:14 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 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

论坛徽章:
0
4 [报告]
发表于 2003-07-11 08:09 |只看该作者

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

精华

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2003-07-11 13:00 |只看该作者

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

设为精彩回帖

论坛徽章:
0
6 [报告]
发表于 2003-08-03 15:20 |只看该作者

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

只要用cpysplf命令把splf保存为pf就可以了,pf如何传到pc就容易的多了!

论坛徽章:
0
7 [报告]
发表于 2003-08-03 15:56 |只看该作者

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

cpysplf时出现"copy request  failed for file qrpgsrc in usr2003",是什么原因呢?

论坛徽章:
0
8 [报告]
发表于 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从可以那里知道呢?

论坛徽章:
0
9 [报告]
发表于 2004-01-28 10:30 |只看该作者

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

修改輸出打印機,

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

找到打印機,

找到作業,拖到桌面(文本)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP