× 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.



Can you clarify:
At the beginning you said programs does not error and continue, however, late 
on you said system is not allowing the program to take control.  If the program 
continues, that means the program is taking control.  Did I miss something?



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Dane Cox
Sent: Thursday, January 06, 2005 11:46 AM
To: RPG programming on the AS400 / iSeries
Subject: Record Locking Error messages...


<clip>
 
If the chain is coded as follows (I don't really care what the error
is...just that I can't get the record for whatever reason)...
 
C     kddmast       chain(e)  rddmast                   
C                   if        %error                    
C                   eval      mscode = 8888             
C                   exsr      getmsgs                   
C                   leave                               
C                   endif                               
 
 
I get the following errors in my job log, BUT the program does not error
and continues on...
 
  Record 148 in use by job 365563/USER/QPADEV000D.   
? C                                                   
  Record 148 in use by job 365563/USER/QPADEV000D.   
? C                                                   
 
So, if I have the program coded to exit and return an error on any I/O
problem, then why is the system not allowing the program to take control
and exit?
<clip>


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.