hcincpdptest

This tests NCPDP Telecom configurations against actual data.

hcincpdptest [-a] [-e ] [-d n] [-i] [-f format] [-V version] 
[-v variant] [-t test] [-n] [-F fieldname] file 
[-w search expression] [-p sepChars] [-c drivercontrol] 
  • -a processes all records in the file.
  • -e encoding is the encoding name for the data file.
  • -d n shows data at detail level n. The detail level range is 0-4, where "0" is raw, unparsed data and "4" is the most detailed.
  • -i displays field addresses using index notation.
  • -f format specifies the file format:
    • -f len10 specifies 10-byte length-encoded.
    • -f nl specifies newline terminated. This is the default.
    • -f eof specifies end-of-file terminated.
  • -V version specifies the NCPDP Telecom version.
  • -v variant specifies the NCPDP Telecom variant.
  • -t test specifies the test to run:
    • -t numbers tests Nn number conversions.
    • -t parse test parses a message. This is the default.
  • -c drivercontrol is used to set the content to message metadata DRIVERCONTROL.
  • -n shows the field names.
  • -F fieldname specifies the field name only.
  • -w search expression specifies the search string or regular expression for which to search.
  • -p sepChars.
  • file specifies the data file with which to test. are the separator characters used for parsing or encoding. This needs to be in a keyed list format.