# Path Based Table Replacement

**URL:** <https://techcommunity.softwareag.com/t/path-based-table-replacement/100173>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [April 17, 2012, 8:34pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173 "2012-04-17T20:34:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeA](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@JoeA](https://techcommunity.softwareag.com/u/JoeA)\
**Post date:** [April 17, 2012, 8:34pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/1 "2012-04-17T20:34:55Z")

</div>

We have an application built and run in Applinx 5.2.5. It has path based tables used for multiple screen collection, up & down, right & left. Now in Applinx8, they are deprecated and I am told that they will be supported in runtime only. I then should look at the documentation to see how to create a table from multiple screens. Maybe it’s just me, but I cannot figure this out. I have a Path converted to a path procedure and a path based table only usable in runtime. Can someone please point me to where this can be resolved. I have well over twenty of these to convert and 2 more applications that will need fixing for Applinx 8. APX 5.2.5 was so much easier.

---

<div class="post-metadata">

**Author:** ![Assaf\_Appel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Assaf\_Appel](https://techcommunity.softwareag.com/u/Assaf_Appel)\
**Post date:** [April 18, 2012, 1:32pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/2 "2012-04-18T13:32:45Z")

</div>

Hi Joe,

Path based tables are deprecated as this solution has some major disadvantages. for example:

1. You can’t get values from other fields (which not in the table). The framework method getTable only returns the table values from the path screens and not other screen’s fields which sometimes needed.
2. You can’t manipulate table values before you send them to the framework.
3. You can’t create more than one table in the same path

Therefore the solution (which already presented in V5.2) is to use path procedures.

To shed light on your confusion, in your current solution you used two entities for each table:

1. Path – this one go through the screens workflow.
2. Path Based table – this one calls the path and extract only the multiple fields (table) from it.

In the new solution you need only one entity Path Procedure which do the same work as both Path and Path based table.

Path procedures are totally flexible in term of the input and the output structures. It can be simple/array attributes, single/array(table) data structures and any mixture of those.  
Path procedures have also stronger tools for controlling the host screens workflow in a clearer and maintainable way vs the old paths/path based tables.  
You can see an example of using path procedure for collecting a table in CompositeDemo\customer\CollectAllCustomers Path Procedure, and in the CompositeDemo web application BrowseCustomers1.jsp/aspx and their code behind (cs/vb/java).

In your case you will need to do some manual changes to make the converted path to act as a path procedure that extract tabular data.  
Please look at the section “Path based tables” in the documentation migration guide [http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/ApplinX/8-2-SP2\_ApplinX/getstarted/Upgrade.htm](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/ApplinX/8-2-SP2_ApplinX/getstarted/Upgrade.htm) It contains exactly the needed steps to make it work as a Path Procedure.

I hope it helps  
Please let me know if you need further directions

Best Regards,  
Assaf

---

<div class="post-metadata">

**Author:** ![JoeA](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@JoeA](https://techcommunity.softwareag.com/u/JoeA)\
**Post date:** [April 19, 2012, 4:43pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/3 "2012-04-19T16:43:56Z")

</div>

Where can I get the CompositeDemo? It no longer comes with Applinx and we only have the older 5.2.5 versions.  
Never mind, found it.

---

<div class="post-metadata">

**Author:** ![Assaf\_Appel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Assaf\_Appel](https://techcommunity.softwareag.com/u/Assaf_Appel)\
**Post date:** [April 20, 2012, 3:33pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/4 "2012-04-20T15:33:36Z")

</div>

Like in v5.2 also in V8.2 ApplinX comes with 3 demo applications installed. I’m not sure why you don’t have them.  
You can try to import them manually from ApplinX installation directory/host-applications (/CompositeDemo.gxar, /SOADemo.gxar, /InstantDemo.gxar).

For installing the web application demos see [http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/ApplinX/8-2-SP2\_ApplinX/getstarted/DemoApp.htm](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/ApplinX/8-2-SP2_ApplinX/getstarted/DemoApp.htm)

Best Regards,  
Assaf

---

<div class="post-metadata">

**Author:** ![JoeA](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@JoeA](https://techcommunity.softwareag.com/u/JoeA)\
**Post date:** [May 2, 2012, 2:58pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/5 "2012-05-02T14:58:27Z")

</div>

Assaf,

Please contact me as we need you to provide us with an example of this process in our system. We can provide you with all modules, but need you to help us with our somewhat convoluted system.

Joe

---

<div class="post-metadata">

**Author:** ![Assaf\_Appel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Assaf\_Appel](https://techcommunity.softwareag.com/u/Assaf_Appel)\
**Post date:** [May 2, 2012, 3:20pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/6 "2012-05-02T15:20:14Z")

</div>

Hi Joe,

For this kind of support we have to go through the official support channel.  
Please open a support request with the information until now and ask to contact with R&D.

Regards,  
Assaf

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/path-based-table-replacement/100173/7 "2021-04-02T15:01:46Z")

</div>


