I am not 100% sure but I think because the 5250 session is a desktop application that interacts with the console, you cannot run it as a service. Task schedulers are hard to get to interact with the console, especially if it is logged off. But I have never tried it.
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, December 04, 2013 4:25 AM
To: PC Technical Discussion for IBM i (AS/400 and iSeries) Users
Subject: Re: [PCTECH] Launch 5250 session from Windows Task Scheduler
I am going under the suspicion that the macro goes through some screens
and takes options to clear them out. And he wants to use the officially
documented interface from the vendor and not try to cobble into their
files. I kind of have to applaud that. Failing the ability to contact
the vendor and see if they support such a batch interface, then an
alternative might be to use software like that available from
http://www.nutechsystems.com/
that will provide a batch interface, or even allow you to redo vendor
screens, without customizing the vendors software one whit. For example,
if your vendor's screen has 3 dozen fields on it and tab through all but
three then you could put up a screen that only prompts you for the three.
We use it for fitting BPCS screens on small handheld 5250 scanner devices.
However he probably feels he just this close to completing his project and
is not ready to give up quite yet. I can respect that. However I'm
pretty ignorant as to how to work with Windows Scheduler and whatnot.
Good luck.
As an Amazon Associate we earn from qualifying purchases.