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



Patrick

OK I missed the point here... SBMJOB works OK but using the ASJ is not! It could still be something to do with the library list? Does the jobd have an initial library list set? If not add that first (I seem to remember something similar in my distant past) If that still does not fix the issue I would like to see the commands you used to build the environment, then I may be able to see where the problem lies? You can share directly if you wish.

Chris...

-----Original Message-----
From: C400-L <c400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Patrik Schindler
Sent: December 15, 2021 10:45 AM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <c400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [C400-L] Using Data Queues in C, with V4

Hello Chris,

Am 15.12.2021 um 15:18 schrieb Chris Hird <chrish@xxxxxxxxxxxxxxxxxx>:

I would do the following.

1. Hold the job queue where the job is loaded.
2. Launch the job so it goes to the job queue.

You mean I should SBMJOB to the held queue?

3. Change the job while its on the job queue so it has LOGCLPGM(*YES) LOG(4 00 *SECLVL).
4. Check out the job log.

But when I use SBMJOB, the job is started and keeps running. The problem is that something is started with the ASJ entry and immediately ends with RC=0. I'm no longer sure if COMRECV is the actual program being started, or something else.

Sound to me like it is not finding something, probably due to library list issues.

I have a guts feeling that it might be related to routing entries in the JOBD. Something I haven't understood. Even after multiple reading of the "Work Management" manual, it's not clear to me what "Routing Data" is, and what to put into RQSDTA.

Do you have some enlightenment for me?

:wq! PoC

--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.