SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > Mapping Long Constants to Elements

Mapping Long Constants to Elements

3rd November 2016

Outbound

STEP 1:

In the Extol Integrator Main Menu select option ‘5′, Mapping

cleo extol integrator main menu mapping long constants to elements

STEP 2:

In the Mapping Menu select option ‘3′, Work with message classes

cleo extol integrator mapping menu message class

STEP 3:

In the Work with message class panel, put option 8 on the desired message class and press Enter

cleo extol integrator work with message class functions

STEP 4:

In the Select message class function panel, type a ‘2′ on the Segment map; element map option column and press Enter

cleo extol integrator constant segment map element map

STEP 5:

In the Work with message class segment map panel, type a ‘5′ in the option field of the segment that houses the element you want to change

cleo extol integrator work with message class segemtn map constant element

STEP 6:

In the Work with element map for one segment panel, type a ‘2′ on the element that needs the constant and press Enter

cleo extol integrator work with element map for one segment constant

STEP 7:

In the Message class element map details 1 panel, type ‘C0′ in the Element source/destination field and press Enter

cleo extol integrator message class element map details 1 constant length

The Constant key and Constant length fields appear. Type a ‘?’ in the first Constant key field and press Enter

cleo extol integrator message class element map details 1 constant length key

STEP 8: 

The Select message class constants panel appears. Locate your desired long constant and select it by typing a ‘1′ in the option column

cleo extol integrator constant mapping select constant

STEP 9:

In the Message class element map details 1 panel, press Enter and confirm. Notice that in the Work with element map for one segment panel, your constant appears in the Field/constant/accumulator/counter column

cleo extol integrator map constant work with element map for one segment


By: on
load('http://www.seanhoppe.com/EXTOL-Blog-Feed2/'); $feed2 = array(); foreach ($rss2->getElementsByTagName('item') as $node2) { $item2 = array ( 'title' => $node2->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node2->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node2->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node2->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed2, $item2); } $limit2 = 5; $rss3 = new DOMDocument(); $rss3->load('http://www.ebithree.com/EBIThree-RSS/'); $feed3 = array(); foreach ($rss3->getElementsByTagName('item') as $node3) { $item3 = array ( 'title' => $node3->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node3->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed3, $item3); } $limit3 = 5; $rss4 = new DOMDocument(); //$rss4->load('http://www.ebithree.com/EBIThree-RSS/'); $rss4->load('http://www.ebiworld.com/EBI-Feed/'); $feed4 = array(); foreach ($rss4->getElementsByTagName('item') as $node4) { $item4 = array ( 'title' => $node4->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node4->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed4, $item4); } $limit4 = 5; echo ' '; ?>