g4g_setValue()

*//////////////////////////////////////////////////////////////*

* g4g_setValue - Set Value of Field *

* *

* Input: *

* in_parameter (required) - The parameter name. *

* in_value (required) - The value of the parameter. *

* *

* Output: *

* out_errMsg - The error message (if error exists). *

* *

* Returns: *

* -1 for error, 0 for no error. *

* *

*//////////////////////////////////////////////////////////////*

D g4g_setValue...

D PR 10i 0

D in_parameter 256 Varying Value

D in_value 65535 Varying Value

D out_errMsg 256 Options(*NOPASS)

g4g_setValue is used to set values before calling a function.

Returns: 0 for successful creation, -1 for error.

Input Parameters:

  • In_parameter - The parameter to set the value for. (required)

  • In_value - The value to set the parameter to.

Output Parameters:

  • Out_errorMsg - An error message if an error was encountered.