DSPLY Opcode produces CPF4131 for DSPF in use.
-
- Profound User
- Posts: 50
- Joined: Fri May 24, 2019 6:26 am
- First Name: Ben
- Last Name: Foster
- Company Name: Manhattan Assurance Company
- Contact:
DSPLY Opcode produces CPF4131 for DSPF in use.
First, this is not a critical problem. Just thought you guys should know. I added the DSPLY opcode to my SQLRPGLE program and just after the execute of that opcode the application produced CPF4131 for the display file the app is using. In all of my 44 years of RPG, I've never seen this while a file was being used. On startup, yes, but never when in the middle of running. I then removed the DSPLY opcode, recompiled and the message never appears again.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: DSPLY Opcode produces CPF4131 for DSPF in use.
The DSPLY opcode doesn't use a display file, so I don't understand how it can possibly cause a CPF4131 (Record format level check).
Can you show us how to make that happen? Never heard of it before.
Can you show us how to make that happen? Never heard of it before.
-
- Profound User
- Posts: 50
- Joined: Fri May 24, 2019 6:26 am
- First Name: Ben
- Last Name: Foster
- Company Name: Manhattan Assurance Company
- Contact:
Re: DSPLY Opcode produces CPF4131 for DSPF in use.
I don't have the code example any longer since removing it from the RPG program. Reproducing the level check format error would be a simple matter of inserting the DSPLY command to display a variable value. Removing the DSPLY command and recompiling removed the CPF4131.
Who is online
Users browsing this forum: No registered users and 5 guests