{
  "synLogic": "char* $ret \u003d $api($1, $2, $3);",
  "help": "The ns_ascii_to_ebcdic converts buffer data from ASCII format to EBCDIC format",
  "notes": "",
  "returns": "char *",
  "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 ASCII Input \u003c/td\u003e \u003ctd\u003e A character pointer to the buffer containing the ASCII data that needs to be converted to EBCDIC format. \u003c/td\u003e \u003c/tr\u003e  \u003ctr\u003e \u003ctd\u003e ASCII Length \u003c/td\u003e \u003ctd\u003e An integer value representing the length of the ASCII input buffer in bytes. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e  \u003ctd\u003e Converted Data Length \u003c/td\u003e  \u003ctd\u003e A pointer to an integer variable that will store the length of the converted data in EBCDIC format \u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "",
  "name": "ns_ascii_to_ebcdic",
  "syntax": "char* ns_ascii_to_ebcdic(char *ascii_input, int ascii_len, int *con_len)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  char ascii_str[] = \"Hello, world!\"; // Input string in ASCII format\n  int ascii_len = strlen(ascii_str); // Length of input string in ASCII format\n  int con_len; // Length of converted string in EBCDIC format\n  char* ebcdic_str = ns_ascii_to_ebcdic(ascii_str, ascii_len, &con_len);\n\n  printf(\"ASCII input string: %s\", ascii_str);\n  printf(\"EBCDIC output string: %s\", ebcdic_str);\n  printf(\"Length of converted string: %d\", con_len);\n\n}",
  "javaEx": "",
  "insertStrC": "*ns_ascii_to_ebcdic(char *ascii_input, int ascii_len, int *con_len);",
  "insertStrJava": "",
  "description": "The ns_ascii_to_ebcdic converts buffer data from ASCII format to EBCDIC format",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "ASCII Input",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter ASCII Input",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
      }
    },
	{
      "id": "$2",
      "type": "TextField",
      "label": "ASCII Length",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter ASCII Length",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
        "min": "0",
        "max": "2147483647"
      }
    },
	{
      "id": "$3",
      "type": "TextField",
      "label": "Con Length",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Con Length",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
        "min": "0",
        "max": "2147483647"
      }
    },
	{
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter return variable",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": false,
        "method": "isValidVar(arg)"
      }
    }
  ]
}