5250 Bridge & MDT

General discussion on Zend Platform for IBM System i
Post Reply
Posts: 1
Joined: Mon Feb 01, 2010 7:54 pm

5250 Bridge & MDT

Post by ahakhan67 » Mon Feb 01, 2010 7:59 pm

Am using the 5250 demo application (with some modifications) to web enable an RPG screen. The screen uses the CHANGE keyword on a number of fields. The problem that I am having is that the CHANGE indicator gets set even when the fields are not edited, I modified the program to call only setInputField($fieldId, $inputField) only for fields that have changed values, but still the CHANGE indicator gets set in RPG program.
Did some research and the IBM manual states that a bit called the Modified Data Tag (MDT) is set in the workstation function when a field is edited on the terminal so how can I debug to find out if this is going on? and more importantly does the 5250 Bridge API handle the MDT bit correctly.

User avatar
Zend Global Support
Posts: 56
Joined: Mon Dec 29, 2008 5:28 pm

Re: 5250 Bridge & MDT

Post by rodflohr » Wed Mar 03, 2010 11:45 pm

This is a known issue. The 5250 Bridge API updates all input fields, causing the Web Facing Server to see them as changed. Zend R&D is working on improvements to better handle this in a future release.

As a workaround, remove the CHANGE keywords from the display file, making note of which change indicators correspond to which changed fields. In the RPG program, just before the EXFMT, save the values of the input fields into work fields. After the EXFMT, compare the input values to the work fields. For any field that has changed, set the corresponding change indicator.

Posts: 1
Joined: Fri Feb 16, 2018 12:16 pm

Re: 5250 Bridge & MDT

Post by ross8642 » Fri Feb 16, 2018 12:25 pm

That is interesting. I must find more information

Posts: 1
Joined: Mon Feb 19, 2018 10:05 am
Location: United States

Re: 5250 Bridge & MDT

Post by zeo2797 » Mon Feb 19, 2018 10:38 am

This is very interesting I am gonging to find more information related to this!

Post Reply