From IBM's website:
http://www-01.ibm.com/support/docview.wss?uid=nas1ee71ca2f7700ad31862570
bb00619997
Error message CPF7E15 will be received when pressing F11 or using EVAL
to display a variable if the variable name is a reserved word that is
used in the system debugger.
The following example re-creates the problem:
*************** Beginning of data
****************************************************
d progstat sds
d user 254 263
d user2 s 10 inz(*user)
c user dsply
c user2 dsply
c seton lr
****************** End of data
*******************************************************
Steps used to demonstrate the issue:
1 Start debug on the program.
2 Step to the first executable statement.
3 Press F11 on the variable 'user'. Message CPF7E15 is received.
The cause of the error is that 'user' is a reserved word in the system
debugger.
To evaluate the value of the variable, you must use EVAL %VAR(user).
David M. Petrosky
Programmer/Analyst
Maines Paper & Food Service, Inc.
101 Broome Corporate Parkway
Conklin, NY 13748
(office) 607-251-7378
dave.petrosky@xxxxxxxxxx
www.maines.net
message: 1
date: Tue, 6 Jul 2010 10:03:52 -0700 (PDT)
from: "Willie J. Moore" <WJMoore@xxxxxxxxxxxx>
subject: Syntax error help
I am getting a syntax error on the following field 'USER':
C move userid user
User is a field in our files. We just started having a problem with user
in our files not being correct. After running a debug and displaying the
user field was when I saw the syntax error. The compile ran fine.
Also on the debug line is: EVAL USER
This has worked ok in the past.
Any help would be greatly appreciated.
William Moore
California Fine Wire
wjmoore@xxxxxxxxxxxx
805-489-5144
As an Amazon Associate we earn from qualifying purchases.