Pedro,

The AS/400 commands follow the standard Verb, noun, or verb, adjective,
noun.  Now you wanted to "retrieves the status of a device".  First of all
in the common verb, RTV which is short for retrieve.
You could type in
RTV*  <enter>
and you would get a list of all retrieve commands.

Now, let's say you've actually worked with devices before.  You may have
used any of the following commands:  WRKCFGSTS or VRYCFG.
Or maybe you tried the menus
GO MAIN
6. Communications
1. Communication status
3. Work with device status
Work with Configuration Status (WRKCFGSTS)

Then you would see that the command you are looking for is RTVCFGSTS.


Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



                    pedro.reis@valeo.co
                    m                         To:     midrange-l@midrange.com
                    Sent by:                  cc:
                    midrange-l-admin@mi       Fax to:
                    drange.com                Subject:     device status


                    03/14/2002 12:20 PM
                    Please respond to
                    midrange-l







Is there any as400 command , that retrieves the status of a device (like
vary on or vary off )??


Best regards,
-------------------------------------------------------------------
Pedro Reis
e-mail: pedro.reis@valeo.com
Phone: 351-258 350 725
Fax: 351-258 350060
--------------------------------------------------------------------
VALEO - Electronics & Connective Systems
Viana do Castelo - Portugal
--------------------------------------------------------------------
"This e-mail message is intended only for the use of the named
recipient(s).
The information contained therein may be confidential or privileged, and
its
disclosure or reproduction is strictly prohibited. If you are not the named
recipient, please return it immediately to its sender at the above address
and destroy it."

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.