Batch jobs

56,495 pts.
Tags:
AS/400 batch jobs
Batch jobs
Scheduled batch jobs
What jobs can be batch jobs? What jobs can be transferred to batch?
ASKED: October 14, 2011  8:45 AM
UPDATED: October 28, 2011  9:56 PM

Answer Wiki

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

Depending on what you want, anything can be made into a batch job, you just need to be able to write up a script for it. Once that is done and tested and shows no ill effects, then you should be able to run it on the network.

One good example is removing a folder that Adobe leaves when it upgrades itself and when you do a vulnerability scan, it comes up dirty. You find the folder, you know the path, you are SURE that deleting the folder will not cause any problems, write the script and then run it on the network. We do it all the time. It is the best way to clean up a lot of lose files that are causing such problems when scanning.

Hope this helps and good luck

Discuss This Question: 11  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
  • philpl1jb
    Any process that doesn't require user interaction can be run as a batch job. Phil
    48,575 pointsBadges:
    report
  • TomLiotta
    Yes, any job that isn't required to be an interactive job can (and possibly should) be a batch job. Generally, a program that doesn't open a display file (and doesn't call any other program that opens a display file) can be submitted for batch processing. Some commands require interactive screens and are marked for interactive use; programs can't successfully execute those commands in batch. Is the question about the meaning of "batch job"? Is it about the uses or purpose of batch? The use of the word "transferred" puts an odd twist to the question. It implies that a job is an interactive and that it is unknown if it can be "transferred" to batch. Generally, an interactive job can't be transferred to batch because interactive jobs have display devices associated with them, and "batch" subsystems usually don't have workstation entries. Tom
    125,585 pointsBadges:
    report
  • Techniciansince65
    I don't think submitted jobs hold enough advantages over interactive to outweigh the edded complexity - hard to debug interactively, coding extra CLP in many cases, job queues getting backed up because of a program waiting on message. Interactive is faster and the amount of extra system load is insignificant on fast modern systems.
    25 pointsBadges:
    report
  • philpl1jb
    Wow! Techniciansince65, did you say we don need no sinkin batch jobs? I suspect that this group will have some interesting responses to that statement. Phil
    48,575 pointsBadges:
    report
  • carlosdl
    Batch jobs ? We don't need no stinking batch jobs... ;-)
    65,110 pointsBadges:
    report
  • TomLiotta
    Wow! Good summation. Hard to improve on that. Tom
    125,585 pointsBadges:
    report
  • petkoa
    My oh my! I almost missed this thread!!!
    3,120 pointsBadges:
    report
  • Teandy
    If you have a job that runs in 10 to 15 seconds, then Techniciansince65 may have a valid point. However, anything over about 15 seconds starts to test the patience of the user. I have several jobs that pull data from all of our divisions, creates one or more excel spreadsheets and emails back to the requesting user. Some of these jobs take over 20 minutes to run, depending on the number of sheets being created. I can’t see tying up the user’s session for that length of time.
    5,860 pointsBadges:
    report
  • WoodEngineer
    Unless your iSeries is the Enterprise version, QINTER only has a small portion of your computer's total CPW. For example, about 15% of our Model 520 Power 5+ processing power is in QINTER. Also, the batch subsystem is tuned by IBM to process longer running jobs more efficiently than QINTER.
    6,055 pointsBadges:
    report
  • philpl1jb
    Rule 1 Work expands to exceed available capacity.. Rule 2 Data expands to exceed storage capacity. Phil
    48,575 pointsBadges:
    report
  • Splat
    Wasting system resources to avoid the occasional necessity of batch debugging sounds like poor system management. Besides, who wants to be the poor sod signed in 24/7 just to run jobs someone else couldn't be bothered to send to batch, let alone the one trying to justify the additional payroll expense?
    6,255 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