How do I find the primary ASP device within an ASP group for SETASPGRP?

pts.
Tags:
AS/400
I want to execute the SETASPGRP command. How do I receive a list of relevant primary ASP devices so that I can choose which one I need?

Answer Wiki

Thanks. We'll let you know when a new response is added.

One way is to use the Open List of ASPs (QYASPOL) API. Alternatvely, there are multiple commands that can print related information to a spoolfile whcih couold then be parsed – WRKDEVD DEVD(*ASP) and WRKASPBRM OUTPUT(*PRINT) , for instance. The latter is a BRMS command, so may not be available.

Hope that helps.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • ButchKan
    The easiest way is to run the command: WRKCFGSTS CFGTYPE(*DEV) CFGD(*ASP) This should provide the listing of defined ASP devices in your environment. I hope this helps.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following