Chinaunix

标题: 各位请教:CPYSPLF出错 [打印本页]

作者: nifuture    时间: 2004-09-09 13:31
标题: 各位请教:CPYSPLF出错
CPYSPLF FILE(POM500P) TOFILE(MM4N4LIB/AUTOFAX2) JOB(235403/NORA/PO_RELEASE) SPLNBR(1) MBROPT(*REPLACE)

其中POM500P是PRTF类型,AUTOFAX2为NODDS的PF
报错显示为POM500P的属性不对,但我修改所有可能出错的属性,但都无济于事

请各位高手帮忙看一下,不胜感激!

                           Display Program Messages                             
                                                                                
Job 235364/NORA/SHA028 started on 04/09/09 at 12:52:50 in subsystem QINTER i   
Attributes of file POM500P not supported by CPYSPLF (G C).                     
                                                                                
                                                                                
                                                                             
                                                                                
                                                                                
   Type reply, press Enter.                                                      
   Reply . . .                                                                  
                                                                                
                                                                                
F3=Exit   F12=Cancel                                                           
                        
提示信息用F1查看,如下:
                         Additional Message Information                        
                                                                                
Message ID . . . . . . :   CPA3312       Severity . . . . . . . :   99         
Message type . . . . . :   Inquiry                                             
Date sent  . . . . . . :   04/09/09      Time sent  . . . . . . :   13:15:40   
                                                                                
Message . . . . :   Attributes of file POM500P not supported by CPYSPLF (G C).
Cause . . . . . :   The Copy Spooled File (CPYSPLF) command found special      
   device requirements of file POM500P number 1 job 235403/NORA/PO_RELEASE.     
   Attributes that are not copied by the CPYSPLF command are defined            
   characters, transparency, variable characters per inch (CPI), variable lines
   per inch (LPI), variable font, variable character identifier (CHRID),        
   subscript and superscript, graphics functions, variable page rotation,      
   enhanced 3812 fonts, bar codes, intelligent printer data stream (IPDS)      
   transparent data, some final form text functions, rotated double-byte        
   characters, double-wide characters, some IGC characters per inch (IGCCPI)   
   values, and IGC shift-out and shift-in spacing specified as IGCSOSI(*NO),   
   and IGC shift-out and shift-in characters specified as IGCSOSI(*RIGHT).                                                                              
   Attributes that are simulated are:  highlight, and some final form text      
   functions.                                                                  
Recovery  . . . :   Type G to continue or C to cancel the copy function. If G  
   is entered, the results may not be what is acceptable because:               
     -- Defined characters below X'40' will be changed to X'40'.               
     -- Variable lines per inch or double-byte characters may cause extra pages
   to be printed.                                                               
     -- The device attributes which control variable CPI, variable font,        
   variable CHRID, subscript and superscript, graphics functions, variable page
   rotation, enhanced 3812 fonts, bar codes, IPDS transparent data, some final  
   form text functions, rotated double-byte characters, double-wide characters,
   some IGCCPI values, IGCSOSI(*NO), and IGCSOSI(*RIGHT) will not be copied.   
     -- The device attributes which control highlight and some final form text  functions will not be simulated if the control character is specified as  *NONE.                                                                       
Possible choices for replying to message . . . . . . . . . . . . . . . :      
   G -- Process file.                                                           
   C -- Cancel CPYSPLF.                                                         
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                         Bottom
Press Enter to continue.                                                      
                                                                                
F3=Exit   F6=Print   F9=Display message details                                
F10=Display messages in job log   F12=Cancel   F21=Select assistance level
作者: xuguopeng    时间: 2004-09-09 14:51
标题: 各位请教:CPYSPLF出错
是不是你的PF的记录长度太小了??
作者: hsiang_wang    时间: 2004-09-09 15:15
标题: 各位请教:CPYSPLF出错
PF可以只定义一字段长度为198,O型!
作者: nifuture    时间: 2004-09-09 15:30
标题: 各位请教:CPYSPLF出错
PF长度为198
应该和PF没有关系吧,因为CPYSPLF中SPLFILE为其他文件时不会出错,只是当SPLFILE为PRTF时才出错
作者: hsiang_wang    时间: 2004-09-09 15:34
标题: 各位请教:CPYSPLF出错
是否你的PRTF宽度长,你先按照我的方法试试吧!
作者: nifuture    时间: 2004-09-09 16:15
标题: 各位请教:CPYSPLF出错
[quote]原帖由 "hsiang_wang"]是否你的PRTF宽度长,你先按照我的方法试试吧![/quote 发表:




我的PRTF的长度为132,其实我之前就是用PF的,定义了一个字段为198
作者: xuguopeng    时间: 2004-09-09 18:03
标题: 各位请教:CPYSPLF出错
CPYSPLF是把SPOOL FILE拷贝到PF 不是把PRTF这个OBJ拷贝到PF

你是不是搞错了?
作者: nifuture    时间: 2004-09-10 09:41
标题: 各位请教:CPYSPLF出错
原帖由 "xuguopeng" 发表:
CPYSPLF是把SPOOL FILE拷贝到PF 不是把PRTF这个OBJ拷贝到PF

你是不是搞错了?


我所拷贝的SPOOL FILE是由程式产生的REPORT,而这个REPORT不是通常在程式中的O表中写的,而是通过外部定义的,即PRTF




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