Page 1 of 1

ProfounfUI Trial - using the Preprocessor

Posted: Tue May 25, 2010 12:02 am
by stirls1514
Hello,
iSeries V5R4, ProfoundUI Version 2.0.2(Trial).

I have created the Helloworld code and compiled and tested - looks OK.
However, I can only compile using Exit Points (ADDPUIEXIT) and cannot get the PUIBNDRPG command to create the ProfoundUI object.

Any ideas?
Thanks.

My code is:

Code: Select all

H DFTACTGRP(*NO)                     
H/DEFINE PROFOUNDUI                  
Fhelloworldcf   e             workstn
                                     
 /free                               
  exfmt hello;                       
  *inlr = *on;                       
 /end-free                           

Re: ProfounfUI Trial - using the Preprocessor

Posted: Tue May 25, 2010 8:27 am
by RussCraig
Have you tried adding the EXTFILE keyword for the display file? Also, are you issuing the command with the DEFINE parameter (i.e.: PUIBNDRPG DEFINE(PROFOUNDUI))? That made the difference on my system (V5R4, PUI 2.0.3).

So your F-spec would look like this:

Code: Select all

Fhelloworldcf   e             workstn EXTFILE('MYLIB/HELLOWORLD')
And your command would look like this:

Code: Select all

PUIBNDRPG PGM(MYLIB/MYPGM) SRCFILE(MYLIB/QRPGLESRC) DEFINE(PROFOUNDUI)
Hope this helps,
-RC

Re: ProfounfUI Trial - using the Preprocessor

Posted: Tue May 25, 2010 8:53 pm
by stirls1514
Thanks for your reply Russ.
Adding the define(PROFOUNDUI) to PUIBNDRPG works (I thought I had tried that but perhaps not).
Will continue my evaluation.