# Move value to Host Field

**URL:** <https://techcommunity.softwareag.com/t/move-value-to-host-field/80060>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [February 3, 2009, 3:00pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060 "2009-02-03T15:00:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianG](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MarianG](https://techcommunity.softwareag.com/u/MarianG)\
**Post date:** [February 3, 2009, 3:00pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/1 "2009-02-03T15:00:36Z")

</div>

One beginners problem:-)

I have defined Field “fld\_BankKonto” on Host screen, that is 20 characters length.

In path, I assign from “Applinx field” to Host Field value 7 characters length.

Applinx move value to Host from left (“1234567BBBBBBBBBBBBB”) B-is blank

I need in host value from right side moved (“BBBBBBBBBBBBB1234567”)

Any idea of how this solve?

I can this solve adding blanks before value  
create expression concat 20 blanks + value and then substracting from right 20 characters…  
Is it good idea?

Thanks for any advice

---

<div class="post-metadata">

**Author:** ![Asaf\_Shak](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Asaf\_Shak](https://techcommunity.softwareag.com/u/Asaf_Shak)\
**Post date:** [February 3, 2009, 4:29pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/2 "2009-02-03T16:29:56Z")

</div>

Hi Marian,  
Your example is ok and should do the work.  
Here is another possible solution - We’ve created a flow procedure that get one string as input and gives this string with blanks as output.  
You can use this example and change it for your desire (for example you can define the size of the input string to be dynamic and not ‘7’ as we did).  
Let me know if this works for you,  
Kind regards,  
Asaf

P.S. - the zip file attached contain Applinx GXZ file with the relevant flow procedure entity only.  
[example.zip](https://techcommunity.softwareag.com/uploads/short-url/rjrUlj17wVf6QAdY5XQbI2MTUd1.zip) (2.61 KB)

---

<div class="post-metadata">

**Author:** ![MarianG](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MarianG](https://techcommunity.softwareag.com/u/MarianG)\
**Post date:** [February 3, 2009, 4:58pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/3 "2009-02-03T16:58:41Z")

</div>

Thanks for example Asaf,

Is my mistake that in previous topic i forgot to write version of Applinx. We are using ver. 5.2.5.0011 so the import has failed because they were exported from a newer Applinx Server

Its help me, correct version…

Thanks a lot

---

<div class="post-metadata">

**Author:** ![MarianG](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MarianG](https://techcommunity.softwareag.com/u/MarianG)\
**Post date:** [February 3, 2009, 5:00pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/4 "2009-02-03T17:00:30Z")

</div>

another mistake we use 5.2.4.0011

---

<div class="post-metadata">

**Author:** ![Asaf\_Shak](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Asaf\_Shak](https://techcommunity.softwareag.com/u/Asaf_Shak)\
**Post date:** [February 3, 2009, 5:02pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/5 "2009-02-03T17:02:58Z")

</div>

No problem.  
So you will upgrade your version or you want me to send you this example using earlier Applinx version so you can open it with your version?  
Asaf

---

<div class="post-metadata">

**Author:** ![MarianG](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MarianG](https://techcommunity.softwareag.com/u/MarianG)\
**Post date:** [February 3, 2009, 5:05pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/6 "2009-02-03T17:05:33Z")

</div>

earlier version please  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![Asaf\_Shak](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Asaf\_Shak](https://techcommunity.softwareag.com/u/Asaf_Shak)\
**Post date:** [February 3, 2009, 5:24pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/7 "2009-02-03T17:24:24Z")

</div>

Here you go…  
Enjoy.  
[example.zip](https://techcommunity.softwareag.com/uploads/short-url/tNH4GUiHYyvz7h8XBp5rEzxGNQo.zip) (2.55 KB)

---

<div class="post-metadata">

**Author:** ![MarianG](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MarianG](https://techcommunity.softwareag.com/u/MarianG)\
**Post date:** [February 3, 2009, 6:12pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/8 "2009-02-03T18:12:51Z")

</div>

Thanks for advice and example, now my path works correct.

Thanks a lot Asaf

Marian

---

<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, 2:51pm UTC](https://techcommunity.softwareag.com/t/move-value-to-host-field/80060/9 "2021-04-02T14:51:26Z")

</div>


