TAA Tools
SCNDEVDSPA      SCAN DEVICE DISPLAY ATTRIBUTES         TAADEVH

The Scan Device Display  Attributes command scans one, generic,  or all
display devices  for attribute values.  This acts  as a simple query to
determine the value of attributes of display devices.

A typical command would be:

              SCNDEVDSPA   DEVD(*ALL) ATTR(PRTDEV) SCNVAL(*SYSVAL)

A  spooled file  would be  displayed of  all display devices  that have
use *SYSVAL for a Printer Device.

SCNDEVDSPA escape messages you can monitor for
----------------------------------------------

None.  Escape messages from based on functions will be re-sent.

SCNDEVDSPA Command parameters                         *CMD
-----------------------------

   DEVD          The display  device  description  to be  scanned.    A
                 specific  name,  a  generic  name,  or  *ALL  for  all
                 display devices must be specified.

   ATTR          The  printer device attribute to be  scanned for.  The
                 value must be one of the following:

                 DEVCLS.  Device class.   The scan value must be  *LCL,
                 *RMT, *VRT, or *SNTP.

                 TYPE.   The device type.   The scan value must  be the
                 type requested.

                 MODEL.   The  model  of the  device.   The  scan value
                 must be the model requested.

                 OWNER.  Owner  of the  device description.   The  scan
                 value must be the owner requested.

                 CRTDATE.  The  create date of the  device description.
                 The SCNVAL must be a valid date in job format.

                 LCLADR.  The local device address.

                 SWTSET.  The switch setting of the address.

                 PORT.   The  port  number of  the address.    5 digits
                 must be entered.

                 LCLLOCNAME.  The local location name.

                 RMTLOCNAME.  The remote location name.

                 RMTID.  The remote network ID of the device.

                 PRTDEV.    The print  device  assigned to  the display
                 device.

                 OUTQ.   The  output  queue  assigned for  the  display
                 device.

                 OUTQLIB.  The library of the output queue.

                 MSGQ.   The  message  queue assigned  for the  display
                 device.

                 MSGQLIB.  The library of the message queue.

                 CTLD.  The controller the device is attached to.

                 PASSTHRU.    Passthru  information.    The scan  value
                 must be  *NO, *5250  (5250 emulation),  *VRT  (virtual
                 devices   not    including   TELNET),    *TELNET,   or
                 *STRPASTHR (STRPASTHR command has been used).

                 ONLINE.   Whether  the device is  to be  placed online
                 at IPL.  The scan value must be *YES or *NO.

                 TEXT.   The  text description.    The SCNOPR  must  be
                 *CT.   Both  the SCNVAL  and the  text description  of
                 the  object  will  be  folded  to  upper  case  before
                 scanning.

   SCNVAL        The  value to be scanned  for.  Up to  10 bytes may be
                 entered.

                 To  scan  for   non-blank  entries   enter  '  '   and
                 SCNOPR(*NE).

                 See  the ATTRIBUTE  parameter  for what  is valid  for
                 the scan value.

   SCNOPR        The scan operator to be used.  *EQ is the default.

                 *NE,  *GT, *GE,  *LT,  *LE, or  *CT (contains)  may be
                 entered.   Non-meaningful functions  such as  scanning
                 the ONLINE attribute  (supports only *YES or  *NO) for
                 a scan operator other than *EQ/*NE are rejected.

   OUTPUT        How  to  output the  results.   *  is  the  default to
                 display the  spooled file  if the  command is  entered
                 interactively.  The  spooled file is deleted  after it
                 is displayed.

                 If  the  command is  entered  in  batch  or *PRINT  is
                 specified,  the spooled  file is  output and retained.


Restrictions
------------

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKVAL          Check value
     CVTDEVDSP       Convert device display
     RTVVALA         Retrieve value attributes
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   SCNDEVDSPA    *CMD                   TAADEVH       QATTCMD
   TAADEVHC      *PGM       CLP         TAADEVHC      QATTCL
   TAADEVHR      *PGM       RPG         TAADEVHR      QATTRPG
					

Added to TAA Productivity tools January 15, 2010


Home Page Up to Top