Eric,
Thank you! The TNAPI worked like a charm! Thanks to everyone else who sent
in suggestions as well.
Nick Franco
Subject: RE: Interactive vs. Batch
From: "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx>
Date: Thu, 27 Dec 2007 08:22:14 -0600
List-archive: <
http://archive.midrange.com/midrange-l>
List-help: <mailto:midrange-l-request@xxxxxxxxxxxx?subject=help>
List-id: Midrange Systems Technical Discussion <midrange-l.midrange.com>
List-post: <mailto:midrange-l@xxxxxxxxxxxx>
List-subscribe: <
http://lists.midrange.com/mailman/listinfo/midrange-l>, <
mailto:midrange-l-request@xxxxxxxxxxxx?subject=subscribe>
List-unsubscribe: <
http://lists.midrange.com/mailman/listinfo/midrange-l>,
<mailto:midrange-l-request@xxxxxxxxxxxx?subject=unsubscribe>
Digg this
del.icio.us
When you say "written to be executed in an interactive environment", that
to me sounds like there is a display file used by these programs. If not,
then I can think of no other reason for these pieces to require
interactive.
Assuming for the moment that your programs DO use a display file, your
options would be 1) rewrite DSPF applications to detect the open error
with the display file and process with default inputs, or 2) make the
batch job think its running interactive. This could be accomplished with
TNAPI, written by Albert York.
hth,
Eric
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Nick Franco
Sent: Thursday, December 27, 2007 7:57 AM
To: Midrange Systems Technical Discussion
Subject: Interactive vs. Batch
I have an interesting problem. We have several programs that are written
to be executed in an interactive environment. Here is the catch. I am
trying to execute them from either an FTP session from a server using rcmd
or using a java command from the software on the server (EXTOL EBI). The
AS400 sees these jobs as being run in a batch environment. Is there a way
to trick the AS400 into thinking these are being run interactively?
Changing the programs themselves is not an option at this point. If I can
put a CL around it that can change the way the system sees it, I can do
that. HELP!
Nick Franco
As an Amazon Associate we earn from qualifying purchases.