CPF4103 - Device *REQUESTER not found while opening file

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
sgonchigar
New User
Posts: 10
Joined: Tue Oct 12, 2010 5:05 am
First Name: Sunil
Last Name: Gonchigar
Company Name: Dell Services
Contact:

CPF4103 - Device *REQUESTER not found while opening file

Post by sgonchigar »

am getting this CPF4103 - Device *REQUESTER not found while opening file, when opening a 132*27 display. Any clue?

Thank you,
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by David »

The CPF4103 indicates that the program is not compiled using either the Profound UI RPG Preprocessor or IBM Open Access.

When not compiled using either of these, the system will send the CPF4103 error when the RPG program tries to open the WorkStn file in the job because the job is batch and there is no workstation device.

Are you using IBM Open Access or the Preprocessor? Let me know and I can advise on compile procedures.
sgonchigar
New User
Posts: 10
Joined: Tue Oct 12, 2010 5:05 am
First Name: Sunil
Last Name: Gonchigar
Company Name: Dell Services
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by sgonchigar »

I am using Preprocessor and used the following to compile
PROFOUNDUI/PUISQLRPGI OBJ(testui) COMMIT(*NONE)

The compile was successful. Should I be doing anything different with the compile options? Thank you.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by David »

There are a few things to check when compiling with the preprocessor:

1. You must have a compiler directive /DEFINE PROFOUNDUI in the source code. You'll want to put this at the top of your source member.

2. In Profound UI versions prior to 2.2.0, you also need to supply the source file library on the command (not source file in *LIBL). If you have 2.2.0, you can use *LIBL for the source file.

Either of those 2 above would cause the Preprocessor to pass through directly to CRTSQLRPGI without doing anything. That would give you the CPF4103.

Does this help?
sgonchigar
New User
Posts: 10
Joined: Tue Oct 12, 2010 5:05 am
First Name: Sunil
Last Name: Gonchigar
Company Name: Dell Services
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by sgonchigar »

Thank you for the quick response.

1. I have the /DEFINE PROFOUNDUI at the top of the pgm.
2. If I compile with
PROFOUNDUI/PUISQLRPGI OBJ(testui) SRCFILE(testlib/QRPGLESRC) COMMIT(*NONE), the /include 's are not translated/interpreted well and I get compilation errors. Some of the /include's has /define,/copy.....nested. There are 4 /INCLUDE's,only the 1st two are expanded in the spool file and the rest are ignored.

If I compile without SRCFILE, QTEMP/QSQLTEMP1 is picked up and compiles successfully.
sgonchigar
New User
Posts: 10
Joined: Tue Oct 12, 2010 5:05 am
First Name: Sunil
Last Name: Gonchigar
Company Name: Dell Services
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by sgonchigar »

Finally, just to get clean compile with SRCFILE, I had to do the following:
1. removed 3 /include's that were nested and causing problem for preprocessor.
2. I had declared "ScreenIndicators", with an "S" at the end but preprocessor truncated the "S" and was getting RNF7030. I renamed the field without the "S" and it compiled ok.
QrnOpenAccess_T.indara = %Addr(SCREENINDICATOR);
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: CPF4103 - Device *REQUESTER not found while opening file

Post by David »

I'm glad it's working for you now, but sorry that you had to make modifications to make it work. It should have taken care of those /COPY's for you. If you'd like to open a support ticket, please send source members to:

support@profoundlogic.com

Our support team can look into this to see why it didn't compile properly to begin with.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests