how to recognize Profound ui code on CL

Use this board to ask questions or have discussions with other Genie users.
Post Reply
kaw
New User
Posts: 15
Joined: Tue Sep 11, 2012 2:16 pm
First Name: Djibril
Last Name: SOW
Company Name: union5
Contact:

how to recognize Profound ui code on CL

Post by kaw »

How to recognize Profound ui code on CL.
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: how to recognize Profound ui code on CL

Post by esdaled »

We use the following code to test if we are running under Genie:

DCL VAR(&GENIE) TYPE(*CHAR) LEN(1)

/* *** Check if we are running under Genie *** */
/* ----------------------------------- */

CALL PGM(PROFOUNDUI/PUI0002300) PARM(&GENIE)

&GENIE would be set to '1' if true and '0' if false.
kaw
New User
Posts: 15
Joined: Tue Sep 11, 2012 2:16 pm
First Name: Djibril
Last Name: SOW
Company Name: union5
Contact:

Re: how to recognize Profound ui code on CL

Post by kaw »

Thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest