Error running program after display converted

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Error running program after display converted

Post by kevinh »

V5R4 running UI 2.0.3.

I'm receiving error:
CPF4103 Device *REQUESTER not found while opening file OE0595FM in library KEVINH

results in UI error page:
Message Id:RNX1216
Severity:99
Date:2010-05-18
Time:13.54.59
Program:OE0595
Procedure:OE0595
Line(s):2100000001
Message:
Error message CPF4103 appeared during OPEN for file OE0595FM.
New Session
Close
Cause . . . . . : RPG procedure OE0595 in program KEVINH/OE0595 received the message CPF4103 while performing an implicit OPEN operation on file OE0595FM. The actual file is OE0595FM.
Recovery . . . : Check the job log for a complete description of message CPF4103, and contact the person responsible for program maintenance. If the file has a device type of SPECIAL, there may be no message in the job log.


Compiled pgm using PROFOUNDUI/PUIBNDRPG over the dspf compiled from UI. All compiles were successful. I am calling a CL anonymously (KEVINH/OE0595P) which adds the libs and sets curlib then calls kevinh/OE0595 which has OE0595FM as its workstation file.
NO changes were made to the RPG, just used the PUIBNDRPG compile command.
No other programs with a display are involved in this program.

PROFOUNDUI job in QHTTPSVR that has msgw shows the correct libl and the joblog looks good until the error.
Job 691548/QTMHHTTP/PROFOUNDUI started on 05/18/10 at 13:54:59 in
subsystem QHTTPSVR in QHTTPSVR. Job entered system on 05/18/10 at
13:54:59.
Library PROFOUNDUI added to library list.
Library ICS added to library list.
Library KEVINH added to library list.
Current library changed to TESTICS.
Device *REQUESTER not found while opening file OE0595FM in library KEVINH.
Error message CPF4103 appeared during OPEN for file OE0595FM.
Function check. RNX1216 unmonitored by OE0595 at statement 2100000001,
instruction X'0000'.
Error message CPF4103 appeared during OPEN for file OE0595FM (C S D F).

Display Call Stack
System: S104DB7A
Job: PROFOUNDUI User: QTMHHTTP Number: 691548
Thread: 00000006


Type Program Statement Procedure
QP0ZPCP2 QSYS _CXX_PEP__Fv
QP0ZPCPN QSYS 266 Qp0zNewProcess
QP0ZPCPN QSYS 210 InvokeTargetPgm__FP11qp0z_p >
OE0595P KEVINH 700 /001D
OE0595 KEVINH _QRNP_PEP_OE0595
OE0595 KEVINH 2100000001 OE0595
QRNXIE QSYS 11 _QRNX_G_FC_H
QRNXIE QSYS 2 _QRNX_DFT_ERROR
QRNXIE QSYS 17 _QRNX_INQ
QRNXIE QSYS 5 InqMsg
QMHRCVPM QSYS /130D


Bottom
F3=Exit F5=Refresh F11=Display activation group F12=Cancel
F16=Job menu F17=Top F18=Bottom F21=Include F22=Display entire field


Display Library List
System: S104DB7A
Job: PROFOUNDUI User: QTMHHTTP Number: 691548

Type options, press Enter.
5=Display objects in library

ASP
Opt Library Type Device Text
QSYS SYS System Library
QSYS2 SYS System Library for CPI's
QHLPSYS SYS
QUSRSYS SYS System Library for Users
TESTICS CUR ICSDIST - test files and programs
KEVINH USR Kevin Hunter programming library
ICS USR ICSDIST Programs @Copyright 1999
PROFOUNDUI USR ProfoundUI by Profound Logic Software,
QGPL USR General Purpose Library
QTEMP USR


Bottom
F3=Exit F12=Cancel F16=Job menu F17=Top F18=Bottom
(C) COPYRIGHT IBM CORP. 1980, 2005.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: Error running program after display converted

Post by Rob »

You would normally get this error message if the pre-processor did not run when you compiled the RPG program. The pre-processor will not run if this line is not added to your program:
RPG CODE
H/DEFINE PROFOUNDUI
You are using the correct compile program (PUIBNDRPG) which will run the pre-processor if the define switch above is found in your program.

I suggest you try this:
  • Clear out all files in QTEMP
    Compile your program again with PUIBNDRPG
    Check in QTEMP. If the pre-processor ran, there will be a source physical file created called QPUILESRC containing a few members, one of which will have the same name as your original source member.
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Re: Error running program after display converted

Post by kevinh »

Had to also add
H DFTACTGRP(*NO)
then it compiled with the H/DEFINE PROFOUNDUI in place. I found the notes in the Guide for the Hello World program noting these requirements.
Launched and I have it running now.
Thanks for the quick response.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest