A SERVICE OF

logo

Performing 5250 Actions
49
Editing a Previously Recorded Action Model
You will undoubtedly encounter times when you need to edit a previously
recorded action model. Unlike editing other components, editing a 5250
component requires extra attention. When a 5250 component executes, it plays
back a sequence of actions that expect certain screens and data to appear in order
to work properly. So when editing a component you must be careful not to make
the action model sequence inconsistent with the host transaction execution
sequence you recorded earlier.
In general, to ensure successful edits, the following recommendations apply:
Do not cut or copy Map Screen action blocks and paste them into other
locations in your action model.
Carefully check and edit individual Map actions that interact with the screen
after copying and pasting them within an action model.
Use Composer's drag and drop features to add new Map actions that interact
with the screen. Animate to the line of interest in your Action Model, pause
animation, and turn on Record mode. This will prevent your Action Model
from getting out of sync with the proper ScreenDoc DOM and /or fields
within a specific ScreenDoc DOM.
Don't delete any Multi-Row related lines (or any actions for that matter) in
your Action Model during animation. This may prevent your component
from functioning properly.
Changing an Existing Action
The following procedure will explain how to change an existing action in a
previously recorded session.
¾
¾¾
¾ To Change an existing action in a previously recorded Action Model:
1 Open the component that includes the previously recorded Action Model
that youd like to edit. The component appears in the 5250 Component
Editor window.