× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



For the archives....

IBM replied:
"I think I see what is going on. In the case of the CPA3138 
we are going down a different code path (and one that places an         
exclusive lock on the files, thereby restricting the DSPFD just as      
you noticed). It is older code and I do not think the CPA3138           
could/would be changed at this point to include a 'number of increments'.  
However, you
can get the CPYF to use the other different path (which can be somewhat 
slower, but will probably actually be quicker for you                   
because you will not have the multiple CPA3138s to answer)              
by specifying ERRLVL(1) or ERRLVL(*NOMAX) on the CPYF.  By doing that   
you will only get the CPA5305 and can enter multiple increments."


I questioned what was it about the file that causes the older code path to be 
used...

"CPYF tries to use the fastest (copy) code path possible. However file   
attributes do not always allow this, and force it down to a blocked     
record I/O (GETs and PUTs) rather than an entire member copy. There are 
many such attributes too numerous to list (.i.e if the TOFILE is        
REUSEDLT(*YES), if TOFILE is an SQL table, if date/time field in the    
file, etc.).  Also parms on the CPYF command itself can affect.         
We can force a CPYF to go the blocked record I/O path, but cannot       
force it the faster entire member copy path. Fortuneately this blocked  
record I/O path is the one that uses the CPA5305."


HTH somebody else....

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
 

> -----Original Message-----
> From: midrange-l-bounces@xxxxxxxxxxxx
> [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Wilt, Charles
> Sent: Thursday, July 21, 2005 9:31 AM
> To: Midrange Systems Technical Discussion (E-mail)
> Subject: File full, CPA3138 vs. CPA5305
> 
> 
> All,
> 
> Does anyone know what determines which message is issued when 
> a file is full:
> 
> CPA3138 - Member HPPICK file HPPICK at maximum size. (C I) 
> 
> CPA5305 - Record not added. Member TPHCNT is full. (C I 9999) 
> 
> 
> The CPA3138 message is a real pain as you can only increment 
> by 1 every time. 
> 
> In the job log, nether of the CPA messages appear.  Instead 
> there is only a CPF4903:
> CPF4903 - Member TPHCNT at maximum size. (I)
> 
>  
> 
> Why the difference?
> 
> 
> Thanks,
> 
> Charles Wilt
> --
> iSeries Systems Administrator / Developer
> Mitsubishi Electric Automotive America
> ph: 513-573-4343
> fax: 513-398-1121
>  
> 
> -- 
> This is the Midrange Systems Technical Discussion 
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.