Page 1 of 1

Compilation error RNF5199

Posted: Tue Aug 05, 2014 4:00 pm
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

Re: Compilation error RNF5199

Posted: Wed Aug 06, 2014 3:21 am
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 991 times

Re: Compilation error RNF5199

Posted: Wed Aug 06, 2014 3:53 am
by claudio
Oh my God! An unforgivable oversight!
Scott, I'am sorry and thanks a lot for your help.
have o good day.
Claudio