Where is my output?
The ccx12/rail maps ship with output destinations using FileOutput. This xml element in the configuration file (x12defaultconfig.xml or raildefaultconfig.xml), defines the path for output files.
The ccx12u maps use a JSON version of the xml configuration file (x12fullconfig.json.dat). A conversion utility to convert existing XML configuration files to JSON is located in x12_data_utilities.mms map source file. Verify the output is valid before JSON implementation.
Design Studio
File Output
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VersionInfo>X12 10.1.0.0</VersionInfo>
<RuntimeInfo>
<FileOutput>
<FileDirectory>../data/output</FileDirectory>
</FileOutput>
The output file names are generated with a datetime stamp. This creates unique files with each execution of compliance. The unique files setting is defined on input card input card 2 as an echo literal value.
The default location defined in the configuration file is:
<supply chain pack install>\x12\compliance\data\output
The sub folders underneath contain the interchange and functional acknowledgment files, x12 valid and rejected data, and error log file.
Design Server
Card Output
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VersionInfo>X12 10.1.0.0</VersionInfo>
<RuntimeInfo>
<CardOutput/>
When projects are imported using Design Server, example inputs and outputs are provided in the project under the Files tab. The output cards are defined as SINK or work files and can be viewed but not downloaded. Additional configurations are needed to download the output files created during Design Server execution. Please review the Configuration and Debug sections for more details.
- Open the x12Compliance project and the ccx12 map. Output cards are located under Structure.
- Select the following example files as output cards. Custom files may also be created using the
Files Add functions.
- Output card ValidData
Select Folder >> compliance/data/output/x12/cc_x12.in
- Output card InvalidData
Select Folder >> compliance/data/output/x12/reject/cc_x12.reject
- Output card ErrorLog
Select Folder >> compliance/data/output/x12/reject/cc_x12.log
- Output card AckOut
Select Folder >> compliance/data/output/fa/outbound/cc_ack.out
- Output card TA1Out
Select Folder >> compliance/data/output/ta1/outbound/cc_ta1.out
- Output card ValidData
- Modify settings on each output card identified.
Select connection >> file, click Next button.
- Select the file using the dropdown list and click Next.
- Click OK.
- Save the ccx12 map.
- Build the map.
- Run the map.
- Under Files, select the files created above and view or download.
- Under Structure, select input card 1, x12data.
- Expand Action Properties and select x12_invalid.txt.
- Save the map.
- Build the map.
- Run the map.
- Repeat the steps for downloading files.