Batch Program

10 pts.
Tags:
AS/400 batch jobs
RPGLE
RPGLE Program
How can I Execute a RPGLE program in Batch after the IPL is fully loaded
ASKED: February 20, 2009  5:03 PM
UPDATED: February 23, 2009  8:20 PM

Answer Wiki

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

Hi,

You can add the job to your startup program. Find your startup program in WRKSYSVAL QSTRUPPGM – this should be a CL program. You can use RTVCLSRC to rerieve the source of the program and then modify it to call your RPG program.

I would suggest that you do a SBMJOB from the CL, making sure that you have a job description available to set up the library list if necessary. Don’t forget to qualify your program name with the necessary library name, otherwise your program may not be found.

<b>Make sure that you test your changes before you try an IPL – solving problems with startup programs can be tricky even for the most experienced AS400 people and IBM are likely to charge a considerable fee to solve such problems.</b>

Regards,

Martin Gilbert.

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
  • LBurkett99
    You can also add an auto-start job entry (command ADDAJE) to a subsystem. The job will start when that subsystem is started. The help-text for the command gives all the details.
    830 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