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




OK, that seems to have cleared up the issue, but maybe you can help make
this crystal clear. I have many service programs and this is the first
time I've ran into something like this. I want to make sure I have my head
wrapped around this.

The first thing the FILETEST program does is open USERFILE. So I am trying
to understand why the program does not open USERFILE after the recompile.
It seems like the new version of the program is unable to create an
activation group because one already exists. Instead of issuing a message
or an error, the program just keeps running until it blows up. Is that a
pretty accurate description, or am I totally missing what is happening?

Matt


|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|10/26/2009 05:45 PM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: Procedure Pointers and Open Files |
>--------------------------------------------------------------------------------------------------------------------------------------------------|





You recompile the program? Do you reclaim the activation group when you
recompile? If not, that may be the problem.

MattLavinder@xxxxxxxxxxxxxxxxxxx wrote:
I add a few records to the file. Then I recompile the program. Then I
run
the the command again to delete the user. Every time I follow that
process, I get an error. If I call ADDUSER after the compile, no error.
There might be another way to recreate it, but that is the only way I
have
been able to do it.

--
This is the RPG programming on the IBM i / System i (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.