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



Thank you both for your replies. I went ahead and "cheated" because it had 
to be finished today.  I had the ILE job submit a CL which created a new 
job and then there was no issue copying the file into QDLS and sending it 
out via SNDDST. 

I know that's bad programming, but we have another project just like this 
one coming up so I can use some of it's allocated time to change over to 
either JavaMail, MMAIL, or SNDM.  There was just no way I was going to get 
it done today.  =)

Unfortunately, I spent most of this projects time learning ILE procedures 
and binding, HSSF POI, and free-form coding courtesy of the many, many, 
articles Scott Klement has been kind enough to write.

Thanks Scott!

 

message: 4
date: Wed, 25 Oct 2006 16:15:50 -0400
from: <Matt.Haas@xxxxxxxxxxx>
subject: RE: Can't copy file from root IFS to QDLS

QDLS is not a thread safe file system which is why you're getting this
error. We use a program called SNDM (you'll need to search for it, I
don't recall the web site) which is pretty easy to use and doesn't
require that you have a mail server running locally. How easy it is to
replace SNDDST with SND depends a little upon what all you're doing with
it.

Matt 

message: 9
date: Wed, 25 Oct 2006 15:27:06 -0500 (CDT)
from: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
subject: Re: Can't copy file from root IFS to QDLS


I'm having issues with the HSSF POI.  I can save the file to the root 
IFS,
but then I can't email it because SNDDST uses QDLS.  The problem is that 
I
can't move or copy the file because then I get the error: "Operation not
allowed in a job running multiple threads. ".

I suggest retiring QDLS and SNDDST.

The problem is due to the fact that Java is a multi-threaded language. 
When you run a Java program, it sets a flag saying "this is a 
multi-threaded job".  Once that happens, you can't write data to the old 
/QDLS filesystem, because that filesystem (which was designed for the S/38 

back in the 80's) can't handle multi-threaded access.  It would cause the 
filesystem to be corrupt.

Of course, that's only one of the many flaws in QDLS.  It has an awkward 
security model.  It's slow.  It's limited to 8.3 filenames.  It has severe 

file size limitations.  But, the speed of it is my biggest beef.

Unfortunately, many of IBM's old officevision tools require QDLS. 
CPYTOPCD, SNDDST, etc.  It's too bad, because some of those tools still 
have value, despite being ancient.

My recommendation is to replace them with modern tools that use modern 
filesystems.  For e-mail, try MMAIL (it's free)
http:// www.easy400.net

Or SNDM from Uzaemon
http://homepage1.nifty.com/uzaemon/

Or the MIME utility from JP LaMontre
http://jplamontre.free.fr/jpltools.htm

Or if you'd like to write your own e-mail software, check out the 
following articles (requires a membership in System iNetwork, but a free 
("Associate") membership will work)
http://www.systeminetwork.com/article.cfm?id=52911
http://www.systeminetwork.com/article.cfm?id=53023

Or Aaron Bartell's RPGMail...
http://www.mowyourlawn.com/

I'm sure there are a half dozen other alternatives that I've forgotten.


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.