ProfounfUI Trial - using the Preprocessor

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
stirls1514
New User
Posts: 2
Joined: Mon May 24, 2010 11:53 pm
First Name: John
Last Name: Stirling
Company Name: Neverfail Springwater
Phone: +61399283285
State / Province: Outside Canada/USA
Country: Australia
Contact:

ProfounfUI Trial - using the Preprocessor

Post 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                           
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: ProfounfUI Trial - using the Preprocessor

Post 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
There are 10 types of people in this world: Those who understand binary and those who don't.
stirls1514
New User
Posts: 2
Joined: Mon May 24, 2010 11:53 pm
First Name: John
Last Name: Stirling
Company Name: Neverfail Springwater
Phone: +61399283285
State / Province: Outside Canada/USA
Country: Australia
Contact:

Re: ProfounfUI Trial - using the Preprocessor

Post 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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 0 guests