Topic
1 reply Latest Post - ‏2013-08-01T14:04:55Z by suneel.kumar
RavikanthChavali
RavikanthChavali
11 Posts
ACCEPTED ANSWER

Pinned topic Can we display the default tranformation on an HATS macro error?

‏2013-06-30T00:36:39Z |

Currently, when an error occurs in a HATS macro, 3270 transformation, it displays a Error message with the buttons Disconnect and Default. Upon choosing the Default option, it show the actual error that occurred in the transformation or Host3270 screen where the macro failed.

Can we always choose to display the Default transformation instead of having the users to click the Default button?

Thank you! Ravikanth Chavali

Updated on 2013-06-30T00:52:20Z at 2013-06-30T00:52:20Z by RavikanthChavali
  • suneel.kumar
    suneel.kumar
    3 Posts
    ACCEPTED ANSWER

    Re: Can we display the default tranformation on an HATS macro error?

    ‏2013-08-01T14:04:55Z  in response to RavikanthChavali

    Hi Ravi,

    Navigate to Project Settings -> Events and click on Error to open Error Event editor.

    Go to source tab and add a new 'apply' action. You can disable/remove the 'show' action. In the below example, testRCP is the project name. You can replace it with yours.

       <actions>
          <apply enabled="true" transformation="testRCP.transformations.DefaultTransformation"/>
          <show enabled="false" page="testRCP.composites.CustomErrorComposite"/>
       </actions>

     

     

    Updated on 2013-08-01T14:05:21Z at 2013-08-01T14:05:21Z by suneel.kumar