decedi_pcv(8) — Maintenance
Name
decedi_pcv − The decedi_pcv command prints a summary of the contents of the DEC/EDI Profile Cache. This can then be used to verify that the active cache’s contents are correct.
The decedi_pcv command gives general details of the cache in use:
The current profile cache version.
The expected profile cache version.
The date and time the cache was generated.
The date and time the cache was loaded into memory.
The decedi_pcv command also gives the following details of each cached DEC/EDI profile:
The trading partner id associated with each cached profile.
The trading partner agreements that are defined for each profile.
A summary of the trading partner agreements details defined for each trading partner:
The EDI standard to be used for the trading partner agreement.
The conversion mode to employed by the DEC/EDI converter. This should always be set to Ordered for DEC/EDI on UNIX.
The DEC/EDI internal document type of the document/s that can be traded with the trading partner agreement.
The version of EDI standard to be used for each document type.
An indication of weather the document definition to be used is a standard, private, trading partner specific or trading group specific definition.
The DEC/EDI connection ID that will be used to send outbound transmissions containing the converted document.
FORMAT
decedi_pcv [-p trading partner] [-a application id]
FLAGS
-p trading partner
Displays trading partner profile data from the DEC/EDI profile cache for the trading partner specified.
-a application id
This flag must be used in conjunction with the flag -p. Data will be displayed from the DEC/EDI profile cache for the trading partner agreement identified by the specified and application id and trading partner id.
Examples
A full decedi_pcv report is likely to contain more information than is required. In order to get the required information from decedi_pvc it is recommended that it is used in conjunction with other UNIX utilities such as grep, sort and more.
To display a brief list of all trading partner agreements cached:
# decedi_pcv | grep -e ’^ Trading Partner’ | sort -u
Trading Partner RTS-PARTNER-EDIF Application Id RTS-FETCH-EDIF
Trading Partner RTS-PARTNER-EDIF Application Id RTS-SEND-EDIF
Trading Partner RTS-PARTNER-TDCC Application Id RTS-FETCH-TDCC
Trading Partner RTS-PARTNER-TDCC Application Id RTS-SEND-TDCC
Trading Partner RTS-PARTNER-TRAD Application Id RTS-FETCH-TRAD
Trading Partner RTS-PARTNER-TRAD Application Id RTS-SEND-TRAD
Trading Partner RTS-PARTNER-X12 Application Id RTS-FETCH-X12
Trading Partner RTS-PARTNER-X12 Application Id RTS-SEND-X12
Trading Partner SYSTEST-FETCH-APP-4 Application Id SYSTEST-SEND-APP-4
Trading Partner SYSTEST-SEND-APP-4 Application Id SYSTEST-FETCH-APP-4
#
To display a detailed report for a specific trading partner agreement:
# decedi_pcv -p SYSTEST-SEND-APP-4 -a SYSTEST-FETCH-APP-4
The Profile Cache Viewer Tool Report.
=====================================
Current mapped Profile Cache Version is : 3100
Expected Profile Cache Version is : 3100
This report was created at : 10-JUN-1996 17:38:33.16
The cache was created at : 06-JUN-1996 18:22:59.40
Trading Partner SYSTEST-SEND-APP-4 Application Id SYSTEST-FETCH-APP-4
=============================================================================
| Ext_Std | Conv_Type | Int_Document_Type | Ext_Vers | Doc_Def | Conn_Type |
|---------|-----------|--------------------|------------|---------|-----------|
| TRAD | Ordered |CREHDR | 89 | S | CVP_T |
|---------|-----------|--------------------|------------|---------|-----------|
+---------------------------------------+
| DOCUMENT TYPE KEY |
|---------------------------------------|
| T = Trading Partner Specific Def. |
| G = Trading Group Specific Def. |
| P = Private Definition |
| S = Standard Definition |
| ∗ = DOCUMENT CANNOT BE USED |
+---------------------------------------+
#
To display a detailed report for a specific trading partner:
# decedi_pcv -p RTS-PARTNER-X12 | more
The Profile Cache Viewer Tool Report.
=====================================
Current mapped Profile Cache Version is : 3100
Expected Profile Cache Version is : 3100
This report was created at : 10-JUN-1996 17:41:14.26
The cache was created at : 06-JUN-1996 18:22:59.40
Trading Partner RTS-PARTNER-X12 Application Id RTS-SEND-X12
=============================================================================
| Ext_Std | Conv_Type | Int_Document_Type | Ext_Vers | Doc_Def | Conn_Type |
|---------|-----------|--------------------|------------|---------|-----------|
| X12 | Ordered |104 | 003052 | S | RTS_P |
| X12 | Ordered |110 | 003052 | S | RTS_P |
| X12 | Ordered |121 | 003052 | S | RTS_P |
| X12 | Ordered |124 | 003052 | S | RTS_P |
| X12 | Ordered |125 | 003052 | S | RTS_P |
| X12 | Ordered |126 | 003052 | S | RTS_P |
| X12 | Ordered |127 | 003052 | S | RTS_P |
| X12 | Ordered |128 | 003052 | S | RTS_P |
| X12 | Ordered |129 | 003052 | S | RTS_P |
| X12 | Ordered |130 | 003052 | S | RTS_P |
| X12 | Ordered |131 | 003052 | S | RTS_P |
| X12 | Ordered |135 | 003052 | S | RTS_P |
| X12 | Ordered |139 | 003052 | S | RTS_P |
| X12 | Ordered |140 | 003052 | S | RTS_P |
| X12 | Ordered |141 | 003052 | S | RTS_P |
Trading Partner RTS-PARTNER-X12 Application Id RTS-SEND-X12
=============================================================================
| Ext_Std | Conv_Type | Int_Document_Type | Ext_Vers | Doc_Def | Conn_Type |
|---------|-----------|--------------------|------------|---------|-----------|
| X12 | Ordered |142 | 003052 | S | RTS_P |
| X12 | Ordered |143 | 003052 | S | RTS_P |
| X12 | Ordered |144 | 003052 | S | RTS_P |
| X12 | Ordered |146 | 003052 | S | RTS_P |
| X12 | Ordered |147 | 003052 | S | RTS_P |
| X12 | Ordered |148 | 003052 | S | RTS_P |
stdin