DSPUSAPRES DISPLAY USA PRESIDENT TAADSPO |
The Display USA President command displays information about a US
President including the electoral voting, the Vice President, notable
cabinet members, and major events that occurred during the
presidency. By default a list of Presidents will be displayed and a
selection may be made (F19) or a specific President may be entered on
the command.
A typical command would be:
DSPUSAPRES
The list of USA Presidents would be displayed and a selection may be
made by using F19 for the details.
A generic name may be entered as well such as:
DSPUSAPRES PRES(HA*)
DSPUSAPRES escape messages you can monitor for
-----------------------------------------------
None. Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
PRES The name or generic name of the President to display
information for. The default is *ALL for a list of
all Presidents.
A generic name such as HA* may be entered, any president names
beginning with HA would be displayed and a selection could be made
for the details. If only one president's name begins with the
characters entered such as WASH* the detail display for Washington
would appear immediately.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
DSPTXT Display text
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
DSPUSAPRES *CMD TAADSPO QATTCMD
TAADSPOC *PGM CLP TAADSPOC QATTCL
TAADSPOR *PGM RPG TAADSPOR QATTRPG
TAADSPOR2 *PGM RPG TAADSPOR2 QATTRPG
TAADSPOR3 *PGM RPG TAADSPOR3 QATTRPG
Structure
---------
DSPUSAPRES Cmd
TAADSPOC CL pgm
TAADSPOR RPG Pgm - Has array of President names - uses DSPTXT
TAADSPOR2 RPG Pgm - Displays details using DSPTXT
TAADSPOR3 RPG Pgm - Has array of detail history info
The TAADSPOR3 array data is also used by DSPUSAHST
|
Added to TAA Productivity tools March 26, 2007