|
You have to keep track of the number of spool files that the job has created. When it gets close to the limit, you need to have the CL submit itself to batch again (this creates a new job). After you do the SBMJOB in the CL, do a RETURN to terminate the current job. Then the new job takes over. The limit used to be 9999 spool files per job. Francis Lapeyre IS Dept. Programmer/Analyst Stewart Enterprises, Inc. E-mail: <mailto:flapeyre@xxxxxxxx> flapeyre@xxxxxxxx _____ From: rpg400-l-bounces@xxxxxxxxxxxx on behalf of murali dhar Sent: Fri 8/25/2006 11:15 PM To: RPG programming on the AS400 / iSeries Subject: spool file limit I have a job which send sends spool files , they are used for formatting for diff reasons, and the job has got DLTSPLF command at the end . So the job on qbatch creates spool files and they get used for formatting and finally get deleted by DLTSPLF command... I see this job get into MSGW over a period of time which indicates me that there is some maximum limit for creating spool files.. Does it have any limit? Is the limit 999999 as we see in CHGSPLFA or any other reason that can be think of for getting into MSGW? Spooled file number . . . . . . *ONLY 1-999999, *ONLY, *LAST, *ANY Regards Murali --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l <http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l <http://archive.midrange.com/rpg400-l> .
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.