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.
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|10/26/2009 04:54 PM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: Procedure Pointers and Open Files |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Hi Matt,
How do you reproduce the error? I loaded your save file, and I call it
as follows:
CALL FILETEST PARM('ADDUSER')
When I do this, it adds a new user to USERFILE. I do not get any
errors. Then I try this:
CALL FILETEST PARM('DELETEUSER')
This causes it to delete the user from USERFILE. I do not get any errors.
How do I reproduce the problem?
MattLavinder@xxxxxxxxxxxxxxxxxxx wrote:
Attachment was removed. Download save file from:
http://www.data-management.com/pointtest.zip
--
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.