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

Hello Niels,

Am 15.12.2021 um 00:26 schrieb Niels Liisberg <nli@xxxxxxxxxxxxxxxxx>:

Else give me a shout if you can’t make it work.

It does work, thanks a lot!

Just fighting the ASJ tangle. Just as related objects are grouped in a library, I want a separate SBS for the two tasks/jobs/processes to run in.

I've created these objects/types:


After gleaning on the QBATCH SBSD, I added a *ANY entry to the SBSD so anything unknown gets routed to QCMD. (That prevented logs in QEZJOBLOG stating there is no matching routing data.) But the COMRECV *PGM does not show up in wrkactjob after starting the SBS.

Looking into QSYSOPR's MSGQ shows nothing. The system log (DSPLOG) shows the *PGM starts and ends with RC=0 immediately. The same is visible when I change the JOBD to force a job log: Ended after 1 second with RC=0.

When I start it by hand in a 5250 session, it just runs (and blocks the session, as expected), and adds entries to the *DTAQ.

When I submit COMRECV by hand (SBMJOB) replicating all the parameters in the ASJ entry, COMRECV is showing up in WRKACTJOB! Thus, hasn't ended by itself as with an ASJ!

But what could go wrong with an ASJ? Mysterious…

:wq! PoC

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