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



Sorry, QDLS is not thread safe so threaded jobs cannot access it.  Java
jobs are automatically threaded so java.io.* classes cannot access files in
QDLS.

I know this is going to be a big surprise, but I am going to suggest a
Toolbox class :-).  The Toolbox IFSFile* classes access data via the file
server which is single threaded so they can access files in QDLS.  With a
small amount of code change you can use Toolbox classes instead of java.io.
* classes.

David Wall
Toolbox for Java
iSeries ODBC Driver for Linux




                      "McCallion,
                      Martin"                  To:       
"'java400-l@midrange.com'" <java400-l@midrange.com>
                      <martin.mccallion        cc:
                      @misys.com>              Subject:  Writing to QDLS with 
Java on the 400
                      Sent by:
                      java400-l-admin@m
                      idrange.com


                      05/29/2002 12:02
                      PM
                      Please respond to
                      java400-l





Is there any truth in the rumour that you can't use Java with the QDLS
filesystem?  We have to support a legacy system that picks up files from
there; our application just uses standard Java classes to create files
in a specified directory, like /home/user-name under Unix, or
C:\some-dir under Windows.

But when we specify /QDLS/AFOLDER on the AS/400, we invariably get an
exception saying "Folder not found" (it does exist).  It works perfectly
well if we use another filesystem, like /QOpenSys/some-dir.

I haven't been able to find anything official about this, but a web
search did lead me to an AS/400 zip application written in Java, which
claimed that, "Java doesn't work with QDLS".

Does anyone know the truth?

Cheers,

Martin.

--
Martin McCallion
Senior Technical Consultant
Work:  martin.mccallion@misys.com
Home: martin.mccallion@ukonline.co.uk
Misys International Banking Systems
1 St George's Road, London, SW19 4DR, UK
T +44 (0)20 8486 1951
F +44 (0) 20 8947 3373
www.misys.com
This email message is intended for the named recipient only. It may be
privileged and/or confidential. If you are not the  intended named
recipient of this email then you should not  copy it or use it for any
purpose, nor disclose its contents to any other person. You should
contact Misys International Banking Systems as shown below so that we
can take appropriate action at no cost to yourself.
Misys International Banking Systems Ltd,1 St
George's Road, London, SW19 4DR, UK. Email: ibs.postmaster@misys.com.
Tel: +44 (0) 20 8879 1188 Fax: +44 (0) 20 8947 3373
Misys International Banking Systems Ltd is
registered in England and Wales under company no. 971479
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
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-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.