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



While the job is actually running, you can use
WRKOBJLCK <correct user profile> *USRPRF
to get the right QZDASOINIT job (Stuart Foster of IBM UK  came up with this
for me a while ago).
Mandy





"Franco Biaggi" <fbiaggi@ticino.com> on 06/01/2001 19:55:10

Please respond to JAVA400-L@midrange.com

To:   "JAVA400-L@midrange.com" <JAVA400-L@midrange.com>
cc:    (bcc: Mandy Shaw/Pacific/UK)
Subject:  Re: Remote Java calls to RPG AS400 programs ?




Hi,
I agree with Tim problems.
From my point of view the main problem is that the jobs are started under
QUSER (after an AS/400 login !!!), instead of the logging on user.

For example, we have manyManyMany difficults to find the joblog of the
(within hundreds of  QZDASOINIT)  the relating job....
Yes, we can find out from DSPLOG, but this is not a way...

Thanks to fix this in the current OS/400 level...

Ciao.

On Sat, 06 Jan 2001 11:38:39 -0600, David Gibbs wrote:

>At 10:11 AM 01/06/2001, you wrote:
>>    * When the remote Java programs initiate a call to the AS400, the
jobs
>> enter the AS400 as Prestart Jobs in the QUSRWRK subsystem named QRCSRVS
>> under user QUSER. Why is it under QUSER when the Java programmer
actually
>> uses a different userid to gain access to the AS400 via their Java
>> program? I actually used the RTVJOBA from the program I wrote in hopes
of
>> identifying the actual caller by their userid, but was perplexed as to
>> only retireve the QUSER userid.
>If you use RTVJOBA to retrieve the CURUSER parameter, you'll get the
userid
>the command was submitted with.  QUSER is used as an initial userid, the
>remote process switches to the actual userid (that used to connect to the
>as400 with) dynamicly.
>>    * The Java programmer on the remote side uses a software called
>> (Weblogic App Server) and this permits him/her to start one or several
>> openings or portals to the AS400 system which appear as active prestart
>> jobs on the AS400 system named as above, and then the Java program fires
>> these calls to my RPG400 interface programs through these openings or
>> portals, so to speak. So am I right in my description when I say the
>> Weblogic software allows the Java programmer the ability to create one
or
>> multiple openings/portals remotely to the AS400, these openings/portals
>> appear as active jobs and then repeatedly call my program through these
>> openings/portals.
>Is weblogic running on the 400?
>>    * Does anyone have any words of caution or advice or things to be
>> aware of when doing the process I describe above, as this is going to
>> TAKE OFF big time where I m at and I am the alleged 'professional' that
>> everyone wants to talk to about this and I still feel like a relative
novice?
>Make sure you QUSRWRK subsystem is active ... I would actually suggest you
>add some code to make sure your programs are running in QUSRWRK as apposed
>to QSYSWRK.  Unexpected things can happen if you run in QSYSWRK.
>
>david
>
>--
>| Internet: david@midrange.com
>| WWW: http://www.davids-place.net
>|
>| Victory does not convey legitimacy
>
>+---
>| This is the JAVA/400 Mailing List!
>| To submit a new message, send your mail to JAVA400-L@midrange.com.
>| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
>| To unsubscribe from this list send email to
JAVA400-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner: joe@zappie.net
>+---
>


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Franco Biaggi">
<meta name="GENERATOR" content="Franco Biaggi">
</head>

<body>

<p>&nbsp; </p>

<table BORDER="1" COLS="1" WIDTH="452" BGCOLOR="#FFFF00">
  <tr>
    <td width="446"><font face="Comic Sans MS"><small><small><br>
    <font color="#3333FF"><a href="http://www.ticino.com/usr/fbiaggi/
">Franco Biaggi</a></font><small><br>
    <font color="#3333FF"><a href="http://www.sisa.ch">SISA Studio
Informatica SA</a></font><small><small><small> <br>
    </small></small></small><font color="#3333FF">R&amp;D
Services</font><small><small><small>
    <br>
    </small></small></small><font color="#3333FF">Via Carvina
1</font><small><small><small> <br>
    </small></small></small><font color="#3333FF">CH-6807
Taverne</font><small><small><small> <br>
    </small></small></small><font color="#3333FF">Tel. +41 91 935 75
35&nbsp; Fax. +41 91 935
    75 30</font></small></small></small><br>
    </small></small></small><font
color="#3333FF">ICQ:59714125(disabled)</font><small><small><small> <br>
</font></td>
  </tr>
</table>
</body>
</html>



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



      Regards,
      Mandy Shaw

      Catalyst Solutions plc
      Kingfisher House
      Frimley Business Park
      Camberley
      Surrey
      GU16 5SG
      UK

      http://www.catalyst-solutions.com
      Email: Mandy.Shaw@uk.catalyst-solutions.com

      Telephone: +44 (0)870 166 1000
      DDI: +44 870 166 1324
      Facsimile: +44 870 168 3920
      Mobile: +44 410 447966






----------------------------------------------------------------------
Catalyst Solutions plc.  Registered No 2918101.
Registered @ Kingfisher House, Frimley Business Park, Frimley,
Surrey. GU16 5SG   U.K.

NOTICE:
This message is intended only for the named addressee(s) and may
contain confidential and/or privileged information. If you are not the
named addressee you should not disseminate, copy or take any action
or place any reliance on it. If you have received this message in error
please notify postmaster@catalyst-solutions.com and delete the message
and any attachments accompanying it immediately.
----------------------------------------------------------------------


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.