PRTPHNINTL PRINT PHONE INTERNATIONAL TAAPHNC |
The Print Phone International command prints a listing of the prefix
phone codes used for international long distance. You may search by
prefix or country abbreviation (such as POR). An option exists to
print all countries by prefix. Only major cities are supported and
many cities in English speaking countries.
For USA, Canada, and Caribbean countries, use PRTARACDE.
A typical command would be:
PRTPHNINTL
A listing would be output of all of the country codes used in country
name order.
Another typical command would be:
PRTPHNINTL CNTRY(MA)
All countries beginning with MA would be listed.
Array used
----------
The array used allows for a large number of entries. The information
may be passed to another program, but the size is too large to be
used as a CL parameter. Therefore the large array is passed as 4
separate arrays. The receiving program should then move the array
data received to a single large array for processing.
See the handling of this with the DSPPHNINTL tool using programs
TAAPHNDC and TAAPHNDR.
PRTPHNINTL escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
PREFIX The prefix to search for. *ALL is the default to
list all prefixes.
If *ALL is not used, you must know the prefix which
is 1-3 digits.
Less than 3 characters may be entered. For example,
if '4' is entered, all prefixes beginning with 4
would be listed.
If a digit entry is made, CNTRY(*ALL) must be
specified.
CNTRY The country abbreviation to search for. *ALL is the
default to list all countries.
Most countries can be found by entering the first 3
characters of the name such as POR for Portugal.
Some countries are found by using a well known
abbreviation such as UK for United Kingdom, or NWZ
for New Zealand.
Less than 3 characters may be entered. For example,
if 'M' is entered, all countries beginning with M
would be listed.
If *ALL is not used, PREFIX(*ALL) must be specified.
SEQ The sequence of the listing. *CNTRY is the default
to list in country name order.
*PREFIX may be used to list in prefix order.
*PREFIX may only be entered when PREFIX(*ALL) and
CNTRY(*ALL) are specified.
Restrictions
------------
Only major cities are supported and many cities in
English speaking countries.
Prerequisites
-------------
The following TAA Tools must be on your system:
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
PRTPHNINTL *CMD TAAPHNC QATTCMD
TAAPHNCC *PGM CLP TAAPHNCC QATTCL
TAAPHNCR *PGM RPG TAAPHNCR QATTRPG
|
Added to TAA Productivity tools July 15, 2003