After submitting a job the program which is used in the job is compiled which object will that job use

510 pts.
Tags:
AS/400
AS/400 jobs
The job is submitted but it is in hold state. Meanwhile, the program which is used in the job is compiled, then the job is released. Which object will that job refer?

Software/Hardware used:
V7R1

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
    It depends on what the job was doing when it was put on hold. Please describe what step the job was in when the compile happened. Is the compiled program in the call stack? . Tom
    125,585 pointsBadges:
    report
  • dinuas400
    first i submitted the job.. now the job is in HOLD state... now i compiled one of the program which will be called by that job... My doubt is which object will be refered whether the old one or new one..
    510 pointsBadges:
    report
  • TomLiotta

    now the job is in HOLD stateā€¦

    It is held, yes, but what step is it in?

    Is it held on a job queue? Or is it held after it has started? If it is held after starting, has it called the program that you want to compile yet? If it has, is that program in the call stack? If that program was called but it's not in the call stack, what method was used to make the call ? (We'll need to know if it's address will be re-resolved on any later call.)

    You asked a technical question. In order to give a precise answer, we need to know the technical state. In some cases the job will use the previous version of the program. In others, it will use the new version.

    Tom

    125,585 pointsBadges:
    report
  • CharlieBrowne
    Simple answer. If the program you call talking about is the initial called program, and the job was started and then put on hold, job will use the old program. If job was never started, it will use the new program. If the program that changes was not the main program, but it is called within the job, then if that program was not yet called before the job was put on hold, then the new program will be called. If job already called the program, it used the old program
    41,380 pointsBadges:
    report
  • TomLiotta

    If job already called the program, it used the old program

    ...unless it uses a form the re-resolves the address.

    Tom

    125,585 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