Adopting authority in CL program

750 pts.
Tags:
AS 400
CL Program
I've already created an outfile of all the user profiles and related information. I now want to write a CL program that will read the file-taking each profile and running command DSPPGMADP. Can command DSPPGMADP be used in a CL program?


Software/Hardware used:
V7R1
1

Answer Wiki

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

I suppose you could read the file and pass the profile name as a parameter to the command. You would probably want to send the results to *PRINT or *OUTFILE so it works.

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.
  • TheRealRaven
    It can be used as a compiled command. The major potential snags would be that the user profile running the command must have authority to the command and to the profiles referenced by the command.
    35,650 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.

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

Following

Share this item with your network: