× 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.


  • Subject: Re: Batch job
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 25 Sep 98 15:54:50 +0000

Hello Chan Le,

You will get better performance if you submit the Java job due to it not having 
to create a communications 
*DTAQ nor manage the DSM environment.

You may need to use the CPYENVAR(*YES) keyword on the SBMJOB command e.g. 
        SBMJOB CMD(RUNJVA MyJavaProgram) CPYENVVAR(*YES)

Java on the AS/400 provides JDBC to access the DB2 database but you can also 
use the AS/400 toolkit Java 
classes to give record level access via DDM.  They will run quite happily on 
the AS/400 -- just include them 
in the CLASSPATH (jt400.zip).  Be aware that these classes still use the DDM 
server and therefore run via TCP 
even though the classes are running on the AS/400.  Native DDM access is coming.

Regards,
Simon Coulter.

//----------------------------------------------------------
// FlyByNight Software         AS/400 Technical Specialists
// Phone: +61 3 9419 0175      Mobile: +61 0411 091 400
// Fax:   +61 3 9419 0175      E-mail: shc@flybynight.com.au
// 
// Windoze should not be open at Warp speed.
//--- forwarded letter -------------------------------------------------------
> Date: Thu, 24 Sep 98 08:54:15 -0700
> From: "Chanh Le" <Chanh_Le@countrywide.com>
> To: MIDRANGE-L@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: Batch job

> > We plan to create a java application run on AS/400.  This application will
> communicate with an application on PC server.  It also  updates AS/400
> database file.
> 
> 1. Can we submit a job to run this application?  Because we want it to run
> all day long.
> 2. Because it runs on AS/400, it access database file as a local file - no
> Client Access involve.  Does AS/400 provides provide packages for java
> applications to access database files.
> 

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.