|
Hi seems that my problem is not with RCLACTGRP , but with RCLRSC, I just got reply from IBM that , when RCLRSC is issued it closes a file QJVAIO14 , which is built to run in default activation group, and the program assumes this file to be open and hence i get error It was designed to work this way and so I have to put a change in design request which will be revived and may be in future there will be some change If any one is more curious to find the problem and work on it, send me a mail I am now in process to change the existing program to just call RCLACTGRP and not RCLRSC Ashish --- Ashish Kulkarni <kulkarni_ash1312@xxxxxxxxx> wrote: > Hi > u can download the zip file from > http://www.mycgiserver.com/~kulkarniash/IBMCode.zip > > Ashish > --- Ashish Kulkarni <kulkarni_ash1312@xxxxxxxxx> > wrote: > > 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/ > > _______________________________________________ > > 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. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. > Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > 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. > __________________________________ 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 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.