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.
Last Wiki Answer Submitted: February 20, 2009 5:13 pm by Gilly40023,625 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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.
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.