CVTDSPDTA CONVERT DISPLAY DATA TAADSPE |
The Convert Display Data command converts character data to a minimum
character set that can be displayed. The command is useful when
displaying data and the format is unknown and may contain bit
representations that cause display control functions to occur.
A typical command is entered as:
CVTDSPDTA INPUT(&INPUT) OUTPUT(&OUTPUT)
The INPUT value may be up to 5000 bytes in length.
The OUTPUT return variable must be declared as *CHAR LEN(128). The
OUTPUT2 parameter may be used in addition or in place of and must be
declared as *CHAR LEN(5000).
The character set used is defined in the CL program. It contains
upper and lower case A-Z, the digits 0-9 and many special characters.
It can be modified to suit specific needs.
Command parameters *CMD
------------------
INPUT The input variable. It can be up to 5000 bytes in
length.
OUTPUT The output or return variable. This is an optional
return variable that if used must be specified as
*CHAR LEN(128).
OUTPUT2 The second output or return variable. This is an
optional return variable that if used must be
specified as *CHAR LEN(5000).
Restrictions
------------
Because the command provides a return variable, it can only be
executed in a CL program.
Prerequisites
-------------
The following TAA Tools must be on your system:
SCNVAR Scan variable
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CVTDSPDTA *CMD TAADSPE QATTCMD
TAADSPEC *PGM CLP TAADSPEC QATTCL
|
Added to TAA Productivity tools April 1, 1995