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



Have you started your host server (STRHOSTSVR)?


Mike Burdette





java400-l-request@xxxxxxxxxxxx 
Sent by: java400-l-bounces@xxxxxxxxxxxx
09/07/2004 01:00 PM
Please respond to
java400-l@xxxxxxxxxxxx


To
java400-l@xxxxxxxxxxxx
cc

Subject
JAVA400-L Digest, Vol 2, Issue 295







message: 1
date: Tue, 7 Sep 2004 10:42:11 -0400
from: "Rong Zhang" <rongz@xxxxxxxxxxxxxxxxxxx>
subject: Re: Record level access problem

Hi Franco,

The program hung in the connectService Statement.

I found another problem that my Websphere Development Studio Client for
Iseries hung when I tried to connect to the server. I can't even verify 
the
connections. Followed by
http://publib.boulder.ibm.com/infocenter/iadthelp/index.jsp?topic=/com.ibm.etools.systems.core.doc/tasks/ttrouble.htm
.
Is there anything wrong in the AS400? It worked fine before we got the RLA
problem.

Many thanks,

Rong


----- Original Message ----- 
From: "Franco Biaggi" <fbiaggi@xxxxxxxxxx>
To: "Java Programming on and around the iSeries / AS400"
<java400-l@xxxxxxxxxxxx>
Sent: Friday, September 03, 2004 2:19 PM
Subject: Re: Record level access problem


> Rong Zhang wrote:
>
> >Hi Franco,
> >
> >The problem is that this program didn't throw out any exceptions.
> >
> >I found this problem by using websphere debug tool, it just hung there
when
> >I reached this statement. Are there any ports or servers or whatever in
> >AS400 I need to open or enable for this ?
> >
> >Thanks,
> >
> >
> Rong,
> try something like this to see if this changes (where
> loggerFileName=/QSYS.LIB/MYLIB.LIB/MYFILE.FILE):
>
>                 as400 = new AS400();
>                 as400.setSystemName(
IniFileManager.getAS400SystemName() );
>                 as400.setUserId( IniFileManager.getAS400UserId() );
>                 as400.setPassword( IniFileManager.getAS400Password() );
>                 as400.setGuiAvailable( false );
>                 as400.connectService( AS400.RECORDACCESS );
>
>                 as400File = new SequentialFile( as400,
> IniFileManager.getLoggerFileName() );
>                 AS400FileRecordDescription recordDescription = new
> AS400FileRecordDescription( as400, IniFileManager.getLoggerFileName() );
>                 recordFormat = recordDescription.retrieveRecordFormat();
>                 as400File.setRecordFormat( recordFormat[ 0 ] );
>                 record = new Record( recordFormat[ 0 ] );
>
>
> -- 
> 
--------------------------------------------------------------------------
---
> *** This messages was scanned for malicious contents ***
> 
--------------------------------------------------------------------------
---
> Franco Biaggi
> CH-6807 Taverne
>
>
> --
> 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.