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



Hi
I am having some issue with QTEMP and how java jobs
are created, it would be great help if some one can
explain what am i missing, Here is the flow of my
process.
1, submit a java job from CL using SBMJOB command
2, I have 3 jobs in my subsystem (I have created a
subsystem to run the jobs in)
MAPS6304F3 (Job name for my Java job)
QP0ZSPWP
QZSHSH
3, I create a AS400 object as
new AS400("localhost", "*CURRENT", "*CURRENT");
4, I create a CommandCall Object in Java and run
command
cmd.run("CHGLIBL LIBL(" + liblList.trim() + ")");
5, This creates a new Job under QUSRWRK subsystem( i
dont know why) and runs the command there
6, Then i issue command
cmd.run("CRTMSGQ QTEMP/" + as400.getUserId());
7, this creates a Message Queue in Job QP0ZSPWP and
not the job created in QUSRWRK, (Dont know Why)
8, create a PCML object and call RPG program,
Job created in QUSRWRK is used.
9, I try to get message from Message queue created in
QTEMP, i get error MessageQueue not found.

This is driving me crazy, can some one point me what
am i missing?


Ashish




____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

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.