WRKUSRPRF

25 pts.
Tags:
AS/400 user profiles
Hi, is it posible to create a CL Programm or menu with WRKUSRPRF?

Answer Wiki

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

Discuss This Question: 5  Replies

 
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
  • TomLiotta

    Of course, it's possible. Here's an example:

    PGM
    
       WRKUSRPRF
    
       RETURN
    
    ENDPGM

    Tom

    125,585 pointsBadges:
    report
  • Dollak

    when I compile the program, I get  CPD0071 message.

    25 pointsBadges:
    report
  • philpl1jb

    Yes.  Work user profile requires one parameter

    User profile . . . . . . . . . . _____ Name, generic*, *ALL

    One option would be to change the program by adding a ? before the command .. this causes command to be prompt mode. 

    PGM
    
     ?  WRKUSRPRF
    
       RETURN
    
    ENDPGM
    49,520 pointsBadges:
    report
  • TomLiotta
    What happened when you did what the CPD0071 message said needed to be done? Just like trying to run WRKUSRPRF on a command line, a program will have the same requirements. You can force a prompt like Phil shows, or you can put the parm into the source. -- Tom
    125,585 pointsBadges:
    report
  • Dollak

    It's working.

    thank you very muuch.

    25 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