{
  "synLogic": "int $ret \u003d $api($1, $2, $3);",
  "help": "The ns_ibmmq_set_put_msg_mode() function is used to set the mode in which messages are put in an IBM MQ message queue. This function takes three parameters: jpid, put_mode, and error_msg. The jpid parameter represents the job process identifier. The put_mode parameter represents the mode in which messages are put. The error_msg parameter stores any error messages generated by the function.",
  "notes": "",
  "returns": "\nInteger: This function returns an integer value that represents the success or failure of the function call. A value of zero represents a successful call, and any non-zero value represents a failure.",
  "arguments": "\u003ctable class\u003d\"newGuiTable\" style\u003d\"width:100%\" \u003e \u003ctr\u003e \u003cth\u003e Argument \u003c/th\u003e \u003cth\u003e Description \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e JPID \u003c/td\u003e \u003ctd\u003e A parameter of type integer that represents the job process identifier. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Put Mode \u003c/td\u003e \u003ctd\u003e A parameter of type integer that represents the mode in which messages are put. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Error Message \u003c/td\u003e \u003ctd\u003e A character pointer that stores the error message, if any. \u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "",
  "name": "ns_ibmmq_set_put_msg_mode",
  "syntax": "int ns_ibmmq_set_put_msg_mode(int jpid, int put_mode, char *error_msg)",
  "javaSyntax": "int ns_ibmmq_set_put_msg_mode(int jpid, int put_mode, char *error_msg)",
  "cEx": "flow()\n{\n  int jpid = 1234;\n  int put_mode = 1;\n  char* error_msg = NULL;\n  int result = ns_ibmmq_set_put_msg_mode(jpid, put_mode, error_msg);\n  if (result != 0) {\n    printf(\"Error: %s\", error_msg);\n  }\n \n}",
  "javaEx": "flow()\n{\n  int jpid = 1234;\n  int put_mode = 1;\n  char* error_msg = NULL;\n  int result = ns_ibmmq_set_put_msg_mode(jpid, put_mode, error_msg);\n  if (result != 0) {\n    printf(\"Error: %s\", error_msg);\n  }\n \n}",
  "insertStrC": "ns_ibmmq_set_put_msg_mode(int jpid, int put_mode, char *error_msg);",
  "insertStrJava": "ns_ibmmq_set_put_msg_mode(int jpid, int put_mode, char *error_msg)",
  "description": "The ns_ibmmq_set_put_msg_mode() function is used to set the mode in which messages are put in an IBM MQ message queue. This function takes three parameters: jpid, put_mode, and error_msg. The jpid parameter represents the job process identifier. The put_mode parameter represents the mode in which messages are put. The error_msg parameter stores any error messages generated by the function.",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "JMS Pool id",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter pool id",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
		"max": 2147483647,
		"min": 0
		}
    },
	{
      "id": "$2",
      "type": "TextField",
      "label": "Put Mode",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter put mode",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
		"max": 2147483647,
		"min": 0
		}
    },
	{
      "id": "$3",
      "type": "TEXT_VAR",
      "label": "Error Message",
      "labelVarCheckbox": "If error message is a program variable.",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter error message",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
		}
    },
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "First character must be Alpha.\r\nOther characters are Alpha, Numeric or Underscore.",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
		"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
        "required": false,
        "method": "isValidVar(arg)"
      }
    }
  ]
}