Verifying data compliance

Running the map involves identifying the data, map, and logging details and includes the following steps:

  1. Run the compliance map. You refer to the directory in which the compliance map was installed.

  2. Optionally create a functional acknowledgement, using the output of the compliance map (translog.in) as the input to the 997 map.

StepsRunning compliance maps

This procedure describes the prerequisites and steps to run compliance maps.

  1. Open ECMap’s and, in the main window, select Build > Run Map from the menu.

    The Run Inbound Map window displays with the Required tab active.

    Run Inbound Map window displays all available tabs: required, option 1, option 2, file alias, ODBC alias, parameters, input output redirect and web script. Required tab is active with description of options in the following steps.
  2. Identify the incoming map information:

  3. Click the Option 1 tab of the Run Inbound Map window to make it active and supply the following information, where appropriate:

    Run Inbound Map window shows Option 1 tab described in following steps.
    1. Select the All Trading Partner Default box.

      When All Trading Partner Default is selected, the program defaults to the ALL TradePartner if it does not find a trade agreement for the trading partner when the map runs. This option is useful when:

      • Data is first processed through a specific map, such as a compliance map, then processed through an actual map

      • Data is received from trading partners that have not been set up or linked with this map

      This option allows the data to be processed when no valid trade agreement is in the trading partner database for this data set.

    2. Leave the Overwrite Output User Files box blank. Compliance maps do not produce user files.

    3. The Ignore Trading Partner Mailbox, Ignore Trade Agreement Mailbox and Validate Control Number Sequence boxes are significant only for routing EDI. Selecting any of the three affects the location of the EDI output of the map.

      • For testing purposes, select these check boxes so that transactions containing data that fails compliance are written to the bad0.edi file in the maps directory and not to the mailboxes.

      • For production purposes, clear these check boxes so that the pass/fail data is placed in the GOOD/BAD mailboxes.

    4. Select Short Trace as the Trace Type.

      Short Trace produces a listing of only the errors that ECMap encountered during mapping or displays the message:

      Map run complete. No errors detected.
      

      To see more detail, run the map with Long Trace as the Trace Type.

    5. Route EDI Type is not an available option for compliance maps. EDI Out is always the default choice for compliance maps.

    6. Ignore Run Inbound Map.

    7. Type or browse to a value in the Populate the Company Identification text box to associate a specific company profile with this map.

      NoteIf you click Browse, the Select Company ID screen displays a list of the company profiles available. Double-click a profile, and the program enters the profile number associated with the profile in this text box.

    8. The Max Memory Cross Reference text box contains the maximum allowable number of entries in a cross-reference table for memory lookups, with a default of 10,000 entries.

      If the entries in any single table exceed the number entered in this text box, then that table is not stored in memory and the lookups for that table go to disk.

      NoteThis option is ignored when the RTP is run on a UNIX machine, where all tables are stored in memory.

    9. Start Processing at Byte Count is used to designate the specific character (byte) at which processing of the incoming EDI file begins. When only specific portions of large data files need to be processed, this option saves the time of reading through the preceding data.

    10. End Processing at Byte Count is used to designate the specific character (byte) at which processing of the incoming EDI file ends. When only specific portions of large data files need to be processed, this option saves the time of reading through the subsequent data.

  4. Click the Option 2 tab of the Run Inbound Map window to make it active, and identify the following information:

    Run Inbound Map window shows Option 2 tab described in following steps.
    1. Compliance maps assume that Zero Fill EDI Non-Null Numbers is selected. When selected, the program fills with zeroes incoming numeric elements that are not blank. This is the -z switch on the command line.

    2. Select the Create Bad Transaction Log box.

      WARNING! You must select this check box to create the file that contains failed translation data.

    3. To save the elapsed time of the run into a trace file, select Output the Elapsed Time box. This is an option only when you use Short Trace.

    4. To optionally create 997 information, select the Run Acknowledgement Map check box. The Build Acknowledgement window displays.

    5. The Trading Partner Search Option specifies which sender and receiver fields in the incoming EDI envelopes the trading partner lookup uses. See the ECMap User’s Guide for more detailed information on this option.

    6. Ignore the Substitute Output Filename. It is not applicable for compliance maps since they do not produce an output file.

    7. Ignore the Substitute User File Directory. It is not applicable for compliance maps since they do not produce an output file.

    8. Ignore the Substitute Map and TP Directory. It is not specific to compliance maps.

    9. Ignore the Temporary Files Directory field.

    10. Click Create Batch Command File to create a batch command file that automatically runs the map once you have set all the switches and options.

    11. Click Delete Transaction Log to create a new log of compliance data that is related only to the map you are currently running.

      NoteThis option is valid for the expanded text log. If you are testing with the ODBClog, you must manually delete rows in the TRLOG table during testing.

      Delete Transaction Log permanently removes the contents of the transaction log file. Since new entries to the transaction log are appended to existing entries, rather than overwriting them, it is important to control the size of this log by periodically purging the contents. If you want to save the contents of the log, you should archive it prior to deleting it. Once you have deleted the log, you cannot recover it. You receive no message saying that the log has been deleted.

    12. Click Acknowledgement Options only to modify existing acknowledgement options or to view the output generated from a run with acknowledgements.

  5. You are now ready to run data through the compliance map. Click Run Map.