|
Carl, We do something very similar, and it gives us fits. Are the jobs on system B running with user profile QTMHHTP1? With us, they run as QUSER, job name QRWTSRVR. But the QRWTSRVR helper job swaps the user profile under the covers to the user profile we used to connect from system A to system B (we use dtw_sql functions to call RPG and CL programs on system B). So any way you would normally grab the spool file doesn't work, because the user profile isn't right. We put a unique identifier into the User Data of the spool file, then we use a TAATOOL utility to retrieve the spool file based upon that unique identifier. Works pretty well (as long as your unique identifier is unique). Be sure it starts with a letter, User Data doesn't like starting with a number. Mike E. "Carl Galgano" <cgalgano2@xxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 06/29/2004 06:04 PM Please respond to Midrange Systems Technical Discussion To: "Midrange List" <MIDRANGE-L@xxxxxxxxxxxx> cc: Subject: Problem using user profile QTMHHTP1 This gets complicated, so I will try to make it simple. 1. I have a net.data web macro that runs on AS400 A. 2. It creates a spool file on system B, using data on system B. 3. The spool file is then converted to either RTF or PDF. 4. The PDF process was from this list server and is called CPYSPLFPDF. (written in java) 5. The PDF process works perfectly if I log on as ME on system B and run the COMMAND CPYSPLFEML 6. The process ONLY seems to fail when it comes as a request from the website and runs under profile QTMHHTP1. 7. If I submit a job, running the command CPYSPLFEML on system B, submitting as user QTMHHTP1, it fails. 8. The failure message indicated that the java could not created a temp file in QTEMP called SPOOL. 9. The only thing I can narrow down is that it has to do with user profile QTMHHTP1. 10. I can submit the command to run in batch as my profilem and can submit with a profile called HTTPDUP that is an EXACT duplicate of QTMHHTP1. I am out of ideas. HELP. cjg
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.