grmcreate
This command creates a new GRM handle for a record format.
grmcreate ?-msg msgId? ?-warn var? type args.
args parsing is based on type:
- DB
dbconnection tableschema ?tableschema ...?
dbconnection
is the name of the database connection.tableschema
is the name of the table schema. - FRL
frlname
frlname is the name of the FRL to use.
- VRL
vrlname
vrlname is the name of the VRL to use.
- HRL
hrlname
hrlname is the name of the HRL to use.
- HL7
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the HL7 message type. - HPRIM
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the HPRM message type. - LDL
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the LDL message. - NCPDP
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the NCPDP message type. - NCPDBFAB
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the NCPDBFAB message type. - NCPDPSCRIPT
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the NCPDPSCRIPT message type. - XML
package ocmname ?rootnode?
package
is the XML package.ocmname
is the name of OCM to use.rootnode
is the root node of the OCM. This is optional. - X12
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the X12 message type. - UN/EDIFACT
vers variant msgType
vers
is the version.variant
is the variant name.msgType
is the UN/EDIFACT message type.If a valid
msgId
is supplied, then that message is available to the GRM handle for parsing and data retrievals.If a warning
var
variable name is specified, then any warning messages that are generated during the operation are collected in the named variable.This command returns a new GRM handle for use in other commands. Use multiple GRM handles to access the same definition in separate messages without interfering with each other.