Skip to main content

Character Dialog - How does export work and what is it used for?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How does the Dialog export command help me as a developer?

Resolution:

The export command allows a developer to dump every detail about a dialog screenset.  This both helps with debugging and also re-coding.

Alt/F10 brings up the export option where a filename.txt file can be designated for output.

Pressing the SPACE bar allows you to toggle which components are selected

Components

Screenset Dets

Data Block

Error Messages

Validations

Global Dialog

Panels

This is followed by a list of panels which can be de-selected by use of SPACE.  For debugging, one is usually only interested in a subset of panels.

The resultant output is a text file containing every detail of the selected components.  This is part of the Global Dialog setion.

GLOBAL DIALOG

      CASE-SENSITIVITY ON

        EK F1   [RETC   ]

        EK AF1  [RETC   ]

        EK ESC  [RETC   ]

        EK F12  [RETC   ]

           P001 [GOP MENU-PNL  ]

           P002 [GOP WARNING  ]

           P003 [GOP CONFIRM  ]

           P004 [GOP ANN-CONF  ]

           P005 [PUSH $NULL  ]

                [GOP REC-CHG  ]

           P007 [POP   ]

Apart from dubugging, what is really useful with the export list is the fact that one can import the same file to build a screenset.   This allows one to edit the file outside of dialog.  Very useful if you  need to make gang edits on a large number of fields.  

To achieve this, one needs to export everything.

Old KB# 4564