In IBM mainframe JES2 systems, a job can run continuously for up to 248 days. This limit comes from the internal time representation in the system. After this period, job accounting timers may overflow, though modern systems rarely hit this limit in practice.