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






I would have to agree that RUNJVA is the best way to run a Java class onthe
iSeries.
However I have found a number of QShell utilities for deleting and copying
IFS files and directories that work much better than the corresponding
Commands, so don't discount Qshell completely.

regards


James O'Sullivan
Senior Technical Consultant
email: josulli4@xxxxxxx
Office: +44 1252 536681
Fax: +44 1252 534022
www: www.csc.com
Based at: Tower 2, Floor 2, Royal Pavilion, Wellesley Road, Aldershot,
Hampshire, GU11 1PZ

CSC Corporation Limited: No. 1812179.
All registered office addresses: Royal Pavilion, Wellesley Road, Aldershot,
Hampshire, GU11 1PZ. Registered in England.


----------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------




                                                                                
                                     
                      NGay                                                      
                                     
                      @cpaglobal.com           To:      Java Programming on and 
around the iSeries / AS400           
                      Sent by:                 <java400-l@xxxxxxxxxxxx>         
                                     
                      java400-l-bounce         cc:                              
                                     
                      s                        Subject: Re: submit java job in 
batch question                        
                                                                                
                                     
                                                                                
                                     
                      22/07/2005 13:15                                          
                                     
                      Please respond                                            
                                     
                      to Java                                                   
                                     
                      Programming on                                            
                                     
                      and around the                                            
                                     
                      iSeries / AS400                                           
                                     
                                                                                
                                     
                                                                                
                                     





I notice most people in this mailing list seem to like using QShell to run
Java pgms, why is this?  Why bother with
SBMJOB     CMD(QSH CMD(java Test= 1 "anystring"))

when you can cut QShell out of the equation and just do
SBMJOB     CMD(JAVA CLASS(Test) PARM('anystring'))

Just something I've always been curious about.  I've never found a reason
to need QShell yet, is it just personal preference?

Thanks,

Nigel Gay,
Computer Patent Annuities.



|---------+------------------------------------------------->
|         |           Keith.McCully@xxxxxxxxxxxx            |
|         |           Sent by:                              |
|         |           java400-l-bounces+ngay=cpaglobal.com@m|
|         |           idrange.com                           |
|         |                                                 |
|         |                                                 |
|         |           21/07/2005 07:59 PM                   |
|         |           Please respond to Java Programming on |
|         |           and around the iSeries / AS400        |
|         |                                                 |
|---------+------------------------------------------------->

>--------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>                  |
  |       cc:
|
  |       Subject:  Re: submit java job in batch question
|

>--------------------------------------------------------------------------------------------------------------|





   You could pass the string as a parameter into the main method and= ,
from
   there, invoke the constructor, Test1= (String name), including this
   string.

   <DI= V>Command would be:
    </DIV= >
   SBMJOB     CMD(QSH CMD(java Test= 1 "anystring"))

   -----java400-l-bo= unces@xxxxxxxxxxxx wrote: -----

     To: java400-l@xxxxxxxxxxxx
     From: Ashish Kulkarn= i <kulkarni_ash1312@xxxxxxxxx>
     Sent by: java400-l-bounces@midran= ge.com
     Date: 07/21/2005 10:14PM
     Subject: submit java job in batch que= stion

     Hi
     suppose if i have a java= class
     like
     public class Test
     {
      public Test()
      =  {

        }
     }
     then i can use command
     SBMJOB &nb= sp;   CMD(QSH CMD(java Test))
     and it will work fine
     but suppose = if i have a class
     public class Test1
     {
      public Test1(String n= ame)
        {

        }
     }

     how do i submit it= in batch from CL,
     how do i get it working

     Ashish

     <SP= AN>
          _________________________     _________________________     __
     Start your day with Yahoo! - make it your home page
     http://www.yahoo.com/r/hs</= A>

     --
     This is the Java Programming on and around the iSeries / A= S400
     (JAVA400-L) mailing list
     To post a message email: JAVA400-L@midrang= e.com
     To subscribe, unsubscribe, or change list options,
     visit: <A hr     ef="
http://lists.midrange.com/mailman/listinfo/java400-l";
     target=blank = >http://lists.midrange.com/mailman/listinfo/java400-l
     or email: JAV= A400-L-request@xxxxxxxxxxxx
     Before posting, please take a moment to revi= ew the archives
     at http://archive.midrange.com/java400-l.

     </bl= ockquote>
     Orbis Property Protection
     http://www.orbisplc.com

    Sales : 0845 3= 45 7877

     ----------------------------------------------------------------------

     This email transmission is confidential and int= ended solely for the
     person or organisation to whom it is addressed. If you= are not the
     intended recipient or have received this e-mail in error pleas= e
delete
     it immediately and notify the sender, Any disclosure including=
copying
     or distribution of the information contained herein is strictly pr
ohibited. Any opinions, instructions or advice contained in this email
may not necessarily be those of the company. Although this email and any
     at= tachments are believed to be free of any virus or other defects,
     which = might affect any computer or system it is the responsibility
of
     the recipie= nt to ensure they are virus free. E&OE.
     --
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.








********************************************************************************

The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.
********************************************************************************


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.





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.