Reputation: 1560
I made a change to a display file using Screen Design Aid, saved the DDS source file and compiled the object. I then checked the Format Level Identifier of that File using DSPFD.
The RPGLE program that compliments this Screen was no change. I first checked the Format Level Identifier for the file on this program using DSPPGMREF and it was different. So I recompiled the RPGLE and the Format Level Identifiers still don't match no matter how much times I recompile.
And well obviously If i try to call the RPG program I get a level check error. CPF4131
Additionally, The RPGLE program is a copy of another program I am trying to edit and test without disrupting the original version. So I have two RPG programs in the same library calling the file. The copy program is suffixed with CPY at the end. I'm not sure if this would also have anything to do with it.
I checked WRKOBJ and there is only one object of the copy program. And my Library lists are in the correct order.
Any guidance on this would be greatly appreciated
Upvotes: 0
Views: 2297
Reputation: 1605
There are some likely causes for this but they all amount to basically the same problem. You are not accessing the object you think you are when compiling. I suggest checking the following:
You don't have your library list set up correctly to include the library the DDS object is in.
You have your library list set up such that it is picking up the old DDS object before it finds the new one.
You are compiling the DDS object to a different library than you expect.
Also try running WRKOBJ *ALL/<OBJNAME>
. You might be surprised to find a version hanging out somewhere you didn't expect.
Upvotes: 3