× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The macro runs an interactive screen that is a vendor provided screen to delete abended batches. It doesn't really lend itself to the iSeries job scheduler. (Although I suppose I could attempt to launch the 5250 workstation app on the PC via a remote command initiated from the iSeries.)


On 12/3/2013 5:04 PM, Roger Harman wrote:
Not directly an answer to your question but....

Why not run the necessary commands/tasks from the IBM Job Scheduler?



-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx] On
Behalf Of Steve McKay
Sent: Tuesday, December 03, 2013 2:50 PM
To: pctech@xxxxxxxxxxxx
Subject: [PCTECH] Launch 5250 session from Windows Task Scheduler


We have a VM with iSeries Access installed. On this VM, we have a green
screen session that runs a macro which signs on to the i and cleans up
abended batches.

This macro runs (loops) all day from whenever I start it until midnight.
I have been able to end it at midnight successfully from Task Scheduler. I
would like to be able to start it at 6:00 AM but cannot get it to work.

I have tried to launch it from Task Scheduler using the same information
contained on the shortcut properties that I use to launch it manually with
no success:

"C:\Program Files\IBM\Client Access\Emulator\pcsws.exe" "C:\Program
Files\IBM\Client Access\Emulator\Private\abend.WS"

I have also created a .BAT file that, when I click on it, launches the green
screen session but will not launch the green screen session from Task
Manager. The .BAT file is a one-liner that has the same info as the
shortcut properties.

I can tell from running the emulation session interactively that PCSCM.EXE
and PCSWS.EXE have to be running. Both of these are launched when the Task
Scheduler fires but they only sit and do nothing.

Does anyone have any ideas regarding how I might get this to work?


--
Thanks,

Steve
--
This is the PC Technical Discussion for IBM i (AS/400 and iSeries) Users
(PcTech) mailing list To post a message email: PcTech@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/pctech.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.