Maybe something in here would show you want you want?
SELECT * FROM QSYS2.NETSTAT_INTERFACE_INFO;


On Thu, 2021-04-01 at 08:42 -0500, K Crawford wrote:

I have a job that runs in batch that updates a log file on an SQL database

(windows). One of the fields is what IP address it came from, another

field is what System name. This job could be run from two different IBMi

systems. We want to know what ip/system populated the audit row.


Kerwin


On Thu, Apr 1, 2021 at 8:24 AM Patrik Schindler <

<mailto:poc@xxxxxxxxxx>

poc@xxxxxxxxxx

wrote:


Hello Kerwin,


Am 01.04.2021 um 15:10 schrieb K Crawford <

<mailto:kscx3ksc@xxxxxxxxx>

kscx3ksc@xxxxxxxxx

:


I can get the Server IP in an interactive job using the QDCRDEVD API.

But

this will not work in a batch job. Does Anyone know how to do this, in

batch?


This question makes no sense, because there is no display device for a

batch job.


What exactly do you want to achieve? Which problem do you want to solve?


:wq! PoC


--

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list

To post a message email:

<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>

MIDRANGE-L@xxxxxxxxxxxxxxxxxx


To subscribe, unsubscribe, or change list options,

visit:

<https://lists.midrange.com/mailman/listinfo/midrange-l>

https://lists.midrange.com/mailman/listinfo/midrange-l


or email:

<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>

MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx


Before posting, please take a moment to review the archives

at

<https://archive.midrange.com/midrange-l>

https://archive.midrange.com/midrange-l

.


Please contact

<mailto:support@xxxxxxxxxxxxxxxxxxxx>

support@xxxxxxxxxxxxxxxxxxxx

for any subscription related

questions.


Help support midrange.com by shopping at amazon.com with our affiliate

link:

<https://amazon.midrange.com>

https://amazon.midrange.com





--

KCrawford



[https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

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.