hcincpdpscripttest
This tests NCPDP Script configurations against actual data.
hcincpdpscripttest [-a] [-d n] [-e encoding] [-i] [-f format]
[-V version] [-v variant] [-t test] [-c drivercontrol]
[-n] [-F fieldname] [-w search expression] [-p sepChars] file
-
-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 Script version. -
-v variant
specifies the NCPDP Script 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 metadataDRIVERCONTROL
. -
-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
are the separator characters used for parsing or encoding. This needs to be in a keyed list format. - file specifies the data file with which to test.