Compilation error RNF5199

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
claudio
New User
Posts: 8
Joined: Wed Jun 01, 2011 8:44 am
First Name: Claudio
Last Name: Bellomo
Company Name: Progetto Adele Srl
Phone: +39105958599
City: Genova
Country: Italy
Contact:

Compilation error RNF5199

Post by claudio »

Hi, we are traing to convert some display file e then we compile relative program using PUIBNDRPG. In rpg source we add the spec Handler as below:

h dftactgrp(*no)
h/define PROFOUNDUI

futi016v if e workstn sfile(uti0161s:sflnr)
f HANDLER('PROFOUNDUI(HANDLER)')

an error RFN5199 occurs when we compile the program : *RNF5199 30 1 L'operando Fattore 2 non è valido per l'operazione EXFMT. ( The Factor 2 operand is invalid for the operation EXFMT).
This program runs just a subfile, and the error relates to the issue of sflctcl (c exfmt uti0162c )
What could be the cause?
Thanks and regards
Claudio
Scott Klement
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: Compilation error RNF5199

Post by Scott Klement »

You cannot use EXFMT on an input-only file. (EXFMT does both input/output in one combined operation.) This is the same for green-screens as it is for Profound UI. Change your f-spec from IF (input full-procedural) to CF (combined full procedural) and it should work.
combined.png
combined.png (6.44 KiB) Viewed 987 times
claudio
New User
Posts: 8
Joined: Wed Jun 01, 2011 8:44 am
First Name: Claudio
Last Name: Bellomo
Company Name: Progetto Adele Srl
Phone: +39105958599
City: Genova
Country: Italy
Contact:

Re: Compilation error RNF5199

Post by claudio »

Oh my God! An unforgivable oversight!
Scott, I'am sorry and thanks a lot for your help.
have o good day.
Claudio
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest