how to recognize Profound ui code on CL
-
- 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
How to recognize Profound ui code on CL.
-
- 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
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.
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.
-
- 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
Thank you!
Who is online
Users browsing this forum: No registered users and 3 guests