Setup for Design Studio

Before you begin

  • Build the following maps in Design Studio on Windows, with Linux selected as the target platform, in the <DTXHOME>\packs\supplychain_edi_v10.2.x\x12\compliance\mapsandschemas folder: ccx12, x12segment, x12ttval.
  • Create the compliance folder structure like the one in Windows. Either copy the entire x12, edifact, or rail folder from the Design Studio pack install (refer to Step 1) or create and copy folders and files individually (refer to Step 2 and Step 3).

Procedure

  1. Copy the entire x12 folder to the <rs_mount> location under /maps for example:
    <rs_mount> = /home/tx-rest/data
    cp -R x12 /tmp/itx-rs/data/maps
    Note: Make sure the folders have Write permission. If not, use chmod +777 to change the permission.
  2. Create folders individually <rs_mount> = /tmp/itx-rs/data:

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/data/output/x12/reject

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/data/output/fa/inbound

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/data/output/fa/outbound

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/data/output/ta1/inbound

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/data/output/ta1/outbound

    mkdir -p /tmp/itx-rs/data/maps/x12/compliance/mapsandschemas

    Note: Make sure the folders have Write permission. If not, use chmod +777 to change the permission.
  3. Copy files from the Windows mapsandschemas to the Linux mapsandschemas folder:
    1. Copy all the compiled maps from the Windows mapsandschemas to the Linux mapsandschemas folder.
    2. Copy all the xsd files to the Linux mapsandschemas folder.
    3. Update all edicc.ini files by changing the existlib= setting from "./ " with "NA". Ensure the content of the file is LF and not CR/LF. Transfer edicc file to the Linux mapsandschemas folder to ensure CR/LF end of line character converted to NL character of the target system.
    4. Copy the files that begin with x12 to the data folder.
    5. Copy the files that end with xml to the data folder.