|
No not exactly, what I am doing is I have an OUTQ defined specifically for emailing spool files, when jobs are sent to this queue in a status of ready a DATAQ record is written, which inturn is the signal to my email job (which runs constantly) to email the file to the user. The thing is, if the print file was defined with a SAVE attribute I want to still retain the file otherwise I simply remove the spoolfile from the system. For the time being I simply defined another outq (EMAILSENTQ) and am moving the files with SAVE to this OUTQ . Michael Kenney IT Services University of Windsor Buck Calabro <Buck.Calabro@comms To: midrange-l@midrange.com oft.net> cc: Sent by: Subject: RE: Need an API to modify status on spoolfile midrange-l-admin@mi drange.com 08/30/2001 02:24 PM Please respond to midrange-l >Is anyone aware of an API that can modify >the status of a spoolfile from RDY to SAV I can't come up with one, but perhaps there's a different way to approach your business need. Are you trying to position certain files near the end of WRKSPLF? If so, consider CHGSPLFA OUTPYT(). The default is 5; larger numbers are produced (and listed) later than small numbers. Sorry if I got it wrong. Buck Calabro Commsoft; Albany, NY Visit the Midrange archives and FAQ at http://www.midrange.com "For every complex problem, there is a solution that is simple, neat, and wrong." -- HL Mencken _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.