#g4ppinv_setValue

 *//////////////////////////////////////////////////////////////*
 * #g4ppinv_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 #g4ppinv_setValue...
D                 PR            10i 0
D  in_parameter                256    Varying Value
D  in_value                  65535    Varying Value
D  out_errMsg                  256    Options(*NOPASS)

#g4ppinv_setValue is used to set values to be used with the G4PPINV functions.

Returns: 0 for success, -1 for error.

Required Parameters:

  • Parameter Name (input)
  • Parameter Value (input)

Optional Parameters:

  • Error Message (output) - Error message