|
Yeah, this is WAY overkill. There is a job on the AS/400 that spits out a spool file on HLD status. I want to have a program (windows) that has the outqueue name hard coded in it and when it is run, it gets the list of spool jobs that are sitting in queue and the option to save them locally on the pc as text files. Like I said, this can be done with Operations Navigator. Do to the printers section and you can drag and drop the spool files to your desktop. They are converted to text files. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Scott Klement" <klemscot@klements.com> To: <midrange-l@midrange.com> Sent: Monday, January 07, 2002 6:14 PM Subject: Re: Pulling spool files off AS/400 - VB? > > This is probably the hardest way to go about this, but... > > You could write a TN5250e client that acted as a printer. Then, files > sent to it could simply be translated to text files. > > I've managed to do this with the free Linux TN5250 printer daemon. I've > hacked it up so that I can compile it under Windows and use it to receive > print jobs... Of course, now I'm working on getting it to play nicely with > the Unix versions of the same so that they can reside in the same source tree. > > But anyway... it shouldn't be TOO hard to take that code and make it a DLL > that can be called from VB... > > > On Mon, 7 Jan 2002, Adam Lang wrote: > > > I checked the archive, but I didn't see what I was looking for. > > > > I know you can use Operations Navigator to open a print queue and pull spool > > files off and you can save them as text files on a pc. > > > > When playing with the VB tool kit, I didn't manage to see a way to do this > > through code. Does anyone have any examples? Even to the extreme of if I > > have an outqueue name I can get a list of all the spool files sitting there. > > > > I can download normal files off the AS/400 no problem, but SPOOL files are a > > different beast. > > > > Is this possible through java also? > > > > _______________________________________________ > 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.