× 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 printed your answer and I gave it to my project manager. Personnaly, I
think that it is an interesting answer. He will decide which technologies he
can use for this project. We cannot use SQL because our other server doesn't
have SQL licence installed and we want a solution that works on both
servers...

If anyone have other suggestions, they are welcome...

Charles


"Vengoal Chang" <vengoal@xxxxxxxxxxx> a écrit
dans le message de news:44EA5250.5040001@xxxxxxxxxxxxxx
If the remote server is AS/400, you can use remote data queue to data
area as your interface for two systems.

local system setup:
CRTDDMF remoteAS400 for DDMF used by IP or SNA protocol for SBMRMTCMD used
CRTDTAQ (QGPL/RMT400DTAQ)  RMTDTAQ(QGPL/DTAQ) by SNA or RDB(create with
WRKRDBDIRE used IP protocol)

remote AS400 system:
CRTDTAQ DTAQ(QGPL/DTAQ)

local program:
SBMRMTCMD CMD(CALL PGM(rmt-program) PARM(parm1 parm2 parm3) to  remote
system
CALL QRCVDTAQ parm ('QGPL' 'RMT400DTAQ' 'daentry' 'dqentrylen'  -1)
the dqentry is the rmt-pgm response.

submitted rmt-pgm:
send result to qgpl/dtaq

best regards,

Vengoal


-------- Original Message  --------
From: "Charles St-Laurent"
<dringpiece@xxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Subject: How to call a remote program and getting a return value into a
passed    parameter?
Date: 2006/8/21 PM 11:16

Hi!

I want to call a program on a remote server. The remote call looks like
this:

CALL MY_PROGRAM PARM(PARM1 PARM2 PARM3 PARM4)

The three first paramters are passed with a value and the last one is
blank.
So I want this CALL to be executed on the remote machine I want to
receive
the PARM4 value back on my local machine...

What is the simplest way to do so?

Thanks in advance for your answers

Charles





-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email:
MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.