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



Terry - if its not too much trouble, I'd like to get a look at that as well

Thanks in advance


Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx


                                                                       
             "Terry Anderson"                                          
             <terrya@citation.                                         
             net>                                                       To
             Sent by:                  <rpg400-l@xxxxxxxxxxxx>         
             rpg400-l-bounces@                                          cc
             midrange.com                                              
                                                                   Subject
                                       RE: Checking for a record Lock on
             05/24/2006 12:02          an Update Primary.              
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
              RPG programming                                          
              on the AS400 /                                           
                  iSeries                                              
             <rpg400-l@midrang                                         
                  e.com>                                               
                                                                       
                                                                       




Bruce,
When I was first learning about subprocedures I wrote one to deal with
record locks. It will pop up a screen and tell the user who has a lock
on the file. If the status code is not 01218 it pops up a different
screen to tell the user that an unknown error has occurred and to
contact the IT department.

I know very little about RPGII but if you think that something like this
would help, let me know and I will send you the code.

Terry Anderson.

> >message: 3
> >date: Tue, 23 May 2006 17:04:52 -0500
> >from: "Bruce Collins" <bruce.collins@xxxxxxxxxxxxx>
> >subject: Checking for a record Lock on an Update Primary.
> >
> >I have looked through the archives but I have not found
> >exactly what I need. (I hate RPGII). We have a very very
> >very very old RPG program that has had the CVTRPGSRC run on
> >it so it is a type RPGLE but the contents are still RPGII. I
> >am needing to trap when the Primary file encounters a record
> >lock. I have tried a INFDS but it does not trap it. I have
> >attempted a *PSSR but I think I have it wrong. Does some
> >have an example, preferably in free of how to trap a record
> >lock on a file described as Update Primary.
> >
> >Thanks in Advance.
> >
> >Bruce "Hoss" Collins
> >IBM Certified Specialist - eServer i5 iSeries System
> >Administrator V5R3 Cisco Certified Network Associate AAA
> >Cooper Transportation Dothan, AL 36303 (334)793-2284 x2434
> >
> >
> >
> >
> >
> >
> ><http://446360.sigclick.mailinfo.com/sigclick/05070707/07044D
> >03/044F0321
> >314141.jpg>
> >
> >
> >------------------------------

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.