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



Hi
I am attaching a zip file along this mail and also
procedure of what i am doing, 
can any one please try this code , I am using jdk1.4.1
and V5R2, but i guess i will work on different
envoirnment also
I will really appreicate if some one takes trouble to
test it
Regards
ashish
This is the procedure I have been following to test
these programs.

1 Created a folder called CXASH on IFS folder of
AS400, 

2 Copy program JavaSystemProperty.java and compile it

3 Create module for JAVARPGCL and SETCLASSPT

4 Create program JAVARPGCL using command

CRTPGM PGM(CXASH/JAVARPGCAL) MODULE(JAVARPGCAL
SETCLASSPT) ACTGRP(*CALLER)

5 Call program JAVARPGCL from command line

6 if there are no errors then run query to see the
contents in STDOUT file in QTEMP library

7 run command RCLACTGRP ACTGRP(*ELIGIBLE)
OPTION(*NORMAL)  

   and RCLRSC  

8 Call program JAVARPGCL from command line, 

            This is when the program fails giving
error RNX0301 and MCH3402

Message ID . . . . . . :   RNQ0301                    
                        

Date sent  . . . . . . :   01/22/04      Time sent  .
. . . . . :   16:55:10   

                                                      
                        

Message . . . . :   Java exception received when
calling Java method (C G D    

  F).                                                 
                        

                                                      
                        

Cause . . . . . :   RPG procedure JAVARPGCAL in
program CXASH/JAVARPGCAL       

  received Java exception "java.lang.UnknownError:"
when calling method        

  "<init>" with signature "()V" in class
"JavaSystemProperty".                 

Recovery  . . . :   Contact the person responsible for
program maintenance to  

  determine the cause of the problem.                 
                        

Possible choices for replying to message . . . . . . .
. . . . . . . . :       

  D -- Obtain RPG formatted dump.                     
                        

  S -- Obtain system dump.                            
                        

  G -- Continue processing at *GETIN.                 
                        

  C -- Cancel.  


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.