How can I swap user profile on active job

390 pts.
Tags:
AS/400 jobs
Hi I  need to find out how to swap user profile on an active job... Is it possible?Devan Hi further to my question on swapping active jobs is that we run LANSA on the AS400. Once the LANSA application opens it automcatically assigns a session to DC@PGMLIB on wrkactjob, even though the user name and password hasn't been entered. This is where we need the job to switch users when the user enters his username and password. . Devan

Answer Wiki

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

Profile Handle APIs might do what you are looking for. Google on Profile Handle API for more info

—————————

Profile Handle APIs might do the work (depending on what the question actually means.) If the question is about reaching into some other ‘active’ job, then the Profile Handle APIs won’t help in the slightest unless the job was created so that the APIs are already in use.

Without clarification from the OP, no good answer is possible.

Tom

Discuss This Question: 3  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
    Define "swap". What is the purpose? There are multiple possible ways. The desired result should determine which method is used. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    ...on an active job Come to think of it, what does that mean? Is it a job that is already running that you want to change? If so, it's very unlikely that you can make it happen. It requires significant preparation ahead of time. Tom
    125,585 pointsBadges:
    report
  • Splat
    Are you needing to run a particular process within the program under a different profile?
    7,565 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