using a rpg program with both green-screen and profoundui

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
chris_rover
Profound User
Posts: 88
Joined: Tue Jun 01, 2010 11:31 am
First Name: christopher
Last Name: williams
Company Name: banks dih limited
Phone: 592-226-9584
Address 1: thirst park
Address 2: ruimveldt
City: gerogetown
State / Province: Outside Canada/USA
Zip / Postal Code: 0000
Country: Guyana
Contact:

using a rpg program with both green-screen and profoundui

Post by chris_rover »

Hi Guys,
what sort of coding do I need to do to enable my rpg program to use either profoundui or the original green screen, without having to make two different program source?
I saw it being done in one of the videos, but the writing was too small for me to follow.

please help!
Greg
Profound User
Posts: 27
Joined: Thu Dec 02, 2010 1:27 pm
First Name: Greg
Last Name: Sears
Company Name: Profound Logic
Phone: 937-439-7925
Address 1: 562 Congress Park
City: Dayton
State / Province: Ohio
Zip / Postal Code: 45459
Country: United States
Contact:

Re: using a rpg program with both green-screen and profoundui

Post by Greg »

The answer is yes this can be done however; there is more involved than just a few lines of code.

First ensure the following lines of code are in your ILE source member:

F/IF DEFINED(WEB)
F HANDLER('PROFOUNDUI(HANDLER)')
F/ENDIF

Secondly, ensure that when this ILE source member is compiled prompt and use F10 and scroll down to the following:

Define condition names . . . . . *NONE

and change this to the following:

Define condition names . . . . . WEB


The destination library for the ILE compiled object and DDS converted object must not be the same as green screen objects.

For the green screen version compile the ILE source in a different destination library without WEB as a defined condition.

Ensure that your library list has the rich converted objects before the green screen objects.

Please let me know if this helps.
chris_rover
Profound User
Posts: 88
Joined: Tue Jun 01, 2010 11:31 am
First Name: christopher
Last Name: williams
Company Name: banks dih limited
Phone: 592-226-9584
Address 1: thirst park
Address 2: ruimveldt
City: gerogetown
State / Province: Outside Canada/USA
Zip / Postal Code: 0000
Country: Guyana
Contact:

Re: using a rpg program with both green-screen and profoundui

Post by chris_rover »

Ok, it's working. I simply need to manage the library list, as the two displays tend to get mixed up. we have one version of the program, two versions of the display(in two seperate libraries)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests