HELP: Input reading hints: encoding, delimiters, schema seeds (all optional) TYPE: OBJECT SYNTAX: RULES(CCSID='str'/DEFAULT/ASCII/EBCDIC/BOMUTF/BOMUCS/SYSTEM/LOCAL,RECDLM='bin'/CR-ASCII/LF-ASCII/NL-ASCII/CRLF-ASCII/CR-EBCDIC/LF-EBCDIC/NL-EBCDIC/CRLF-EBCDIC/CR-UTF08/LF-UTF08/NL-UTF08/CRLF-UTF08/CR-UTF16BE/LF-UTF16BE/NL-UTF16BE/CRLF-UTF16BE/CR-UTF16LE/LF-UTF16LE/NL-UTF16LE/CRLF-UTF16LE/CR-UTF32BE/LF-UTF32BE/NL-UTF32BE/CRLF-UTF32BE/CR-UTF32LE/LF-UTF32LE/NL-UTF32LE/CRLF-UTF32LE,RECLEN=num,SEPCHR[num/COMMA/COLON/SEMICOLON/TABULATOR/BLANK...],FLDCHR[num/QUOTATION/APOSTROPHE/GRAVEACCENT/PARENTHESES/RBRACKETS/SBRACKETS/BRACES/CBRACKETS/ABRACKETS...],HEADLN,NULLST='str',SKIPROWS=num,USRTAB='str'/NPAS/SEPA/DELA/DLAX,IGNRST)
Provides optional hints to guide the input CSV reading pipeline. All parameters are optional; omitting a parameter enables auto-detection for that aspect. Only supply hints when auto-detection is unreliable or needs to be locked to a specific value.
CCSID specifies the input character set for CNV.CHR transcoding. Provide a standard CCSID name or alias (e.g. IBM-1141, ISO-8859-1, UTF-8). When omitted, the encoding is detected automatically or taken from the system locale.
USRTAB provides a custom character mapping table for CNV.CHR. Specify a path to a user-defined mapping file. When omitted, the standard CCSID conversion is used.
RECDLM overrides the record delimiter byte sequence used by CNV.REC. Specify a named delimiter (CRLF, LF, CR, TXT, BIN) or a hex byte sequence. When omitted, the delimiter is detected automatically.
RECLEN sets the maximum record length for CNV.REC. Records longer than this value are split. The default is 32768.
SEPCHR specifies one or more candidate field separator Unicode codepoints as input hints for DETCSV. Up to eight values can be provided. Named values: COMMA, SEMICOLON, COLON, TABULATOR, BLANK. A custom codepoint may be supplied as a decimal or hex number. When omitted, the separator is detected automatically.
FLDCHR specifies one or more candidate field enclosing character Unicode codepoints as hints for DETCSV. Named values: QUOTATION, APOSTROPHE, GRAVEACCENT, RBRACKETS, SBRACKETS, CBRACKETS, ABRACKETS. When omitted, the enclosing character is detected automatically.
HEADLN is a switch that seeds DETCSV with the expectation that the first data row is a header row. When set, DETCSV is biased toward treating the first row as a header. When omitted, DETCSV decides on its own.
NULLST is a comma-separated list of string values to treat as empty (null) fields. For example: NULLST='N/A,NULL,-' makes these three values map to empty output fields. When omitted, the system defaults apply: NULL, null, NA, NaN, N/A, n/a, None, none and empty fields are treated as null. Prefix '+' to extend the defaults rather than replace them, for example NULLST='+TBD,-' adds TBD and - to the default list.
SKIPROWS=N causes the first N rows to be skipped via CNV.CMT without any pattern matching. Use SKIPROWS together with COMMENT to strip both fixed-header and pattern-matched comment rows. Default is 0.
IGNRST=ON (default) causes fields beyond the detected schema width to be ignored per row. IGNRST=OFF causes such rows to produce an error.
STRING: CCSID='str'/DEFAULT/ASCII/EBCDIC/BOMUTF/BOMUCS/SYSTEM/LOCAL - Input character set hint for CNV.CHR; empty = auto-detect [auto]
DEFAULT - Use default CCSID (auto-detect)ASCII - Use default ASCII CCSID (environment)EBCDIC - Use default EBCDIC CCSID (environment)BOMUTF - Determine the correct UTF CCSID from byte order mark (BOM) only when readingBOMUCS - Determine the correct UCS CCSID from byte order mark (BOM)only when readingSYSTEM - Use system character set (environment/logical)LOCAL - Use local character set (auto-detect + system/physical)STRING: RECDLM='bin'/CR-ASCII/LF-ASCII/NL-ASCII/CRLF-ASCII/CR-EBCDIC/LF-EBCDIC/NL-EBCDIC/CRLF-EBCDIC/CR-UTF08/LF-UTF08/NL-UTF08/CRLF-UTF08/CR-UTF16BE/LF-UTF16BE/NL-UTF16BE/CRLF-UTF16BE/CR-UTF16LE/LF-UTF16LE/NL-UTF16LE/CRLF-UTF16LE/CR-UTF32BE/LF-UTF32BE/NL-UTF32BE/CRLF-UTF32BE/CR-UTF32LE/LF-UTF32LE/NL-UTF32LE/CRLF-UTF32LE - Record delimiter byte sequence override for CNV.REC [auto]
CR-ASCII - Delimiter: carriage return in ASCII (0x0D)LF-ASCII - Delimiter: line feed in ASCII (0x0A)NL-ASCII - Delimiter: new line in ASCII (0x85)CRLF-ASCII - Delimiter: carriage return line feed in ASCII (0x0D0A)CR-EBCDIC - Delimiter: carriage return in EBCDIC (0x0D)LF-EBCDIC - Delimiter: line feed in EBCDIC (0x25)NL-EBCDIC - Delimiter: new line in EBCDIC (0x15)CRLF-EBCDIC - Delimiter: carriage return line feed in EBCDIC (0x0D25)CR-UTF08 - Delimiter: carriage return in UTF-8 (0x0D)LF-UTF08 - Delimiter: line feed in UTF-8 (0x0A)NL-UTF08 - Delimiter: new line in UTF-8 (0xC285)CRLF-UTF08 - Delimiter: carriage return line feed in UTF-8 (0x0D0A)CR-UTF16BE - Delimiter: carriage return in UTF-16BE (0x000D)LF-UTF16BE - Delimiter: line feed in UTF-16BE (0x000A)NL-UTF16BE - Delimiter: new line in UTF-16BE (0x0085)CRLF-UTF16BE - Delimiter: carriage return line feed in UTF-16BE (0x000D000A)CR-UTF16LE - Delimiter: carriage return in UTF-16LE (0x0D00)LF-UTF16LE - Delimiter: line feed in UTF-16LE (0x0A00)NL-UTF16LE - Delimiter: new line in UTF-16LE (0x8500)CRLF-UTF16LE - Delimiter: carriage return line feed in UTF-16LE (0x0D000A00)CR-UTF32BE - Delimiter: carriage return in UTF-32BE (0x0000000D)LF-UTF32BE - Delimiter: line feed in UTF-32BE (0x0000000A)NL-UTF32BE - Delimiter: new line in UTF-32BE (0x00000085)CRLF-UTF32BE - Delimiter: carriage return line feed in UTF-32BE (0x0000000D0000000A)CR-UTF32LE - Delimiter: carriage return in UTF-32LE (0x0D000000)LF-UTF32LE - Delimiter: line feed in UTF-32LE (0x0A000000)NL-UTF32LE - Delimiter: new line in UTF-32LE (0x85000000)CRLF-UTF32LE - Delimiter: carriage return line feed in UTF-32LE (0x0D0000000A000000)NUMBER: RECLEN=num - Maximum record length for CNV.REC [32768]NUMBER: SEPCHR[num/COMMA/COLON/SEMICOLON/TABULATOR/BLANK...] - Field separator character hint as Unicode codepoint [auto]
COMMA - Comma separated (default)COLON - Separated by colon (':')SEMICOLON - Separated by semicolon (';')TABULATOR - Separated by tabulator (x'0009')BLANK - Separated by blank (x'0020')NUMBER: FLDCHR[num/QUOTATION/APOSTROPHE/GRAVEACCENT/PARENTHESES/RBRACKETS/SBRACKETS/BRACES/CBRACKETS/ABRACKETS...] - Field enclosing character hint as Unicode codepoint [auto]
QUOTATION - Quotation mark as enclosing characterAPOSTROPHE - Apostrophe as enclosing characterGRAVEACCENT - Grave accent as enclosing characterPARENTHESES - Round brackets as enclosing characterRBRACKETS - Round brackets as enclosing characterSBRACKETS - Square brackets as enclosing characterBRACES - Curly brackets as enclosing characterCBRACKETS - Curly brackets as enclosing characterABRACKETS - Angle brackets as enclosing characterSWITCH: HEADLN - Input has a header line (seed for DETCSV auto-detection) [auto]STRING: NULLST='str' - Null sentinel list; comma-separated values to treat as empty [NULL,null,NA,NaN,N/A,n/a,None,none]NUMBER: SKIPROWS=num - Skip first N rows via CNV.CMT without comment detection [0]STRING: USRTAB='str'/NPAS/SEPA/DELA/DLAX - User character mapping table for CNV.CHR [none]
NPAS - UCS subset for statutory reporting (New passport, XOEF, String.Latin)SEPA - UCS subset of valid SEPA character smaller than 128DELA - UCS subset for German Latin of IBM1141, ISO8859-15 and CP1252DLAX - UCS subset for German Latin of IBM1141, ISO8859-15, CP1252 and XOEFSWITCH: IGNRST - Ignore fields beyond schema width in each input row [TRUE]