Obicn >> Computer >> Software >> Operating Systems >> How to start from the AS/400 PC or from PC program launched AS/400 process?

How to start from the AS/400 PC or from PC program launched AS/400 process?: Operating Systems

Obicn
How to start from the AS/400 PC or from PC program launched AS/400 process?

1 pc from the start> Windows 95, 98, NT, the need for REXECD (remote executing) Daemon procedures for receiving external orders, directives RUMRMTCMD use in the AS/400, the> "C: \ Program Files \ Microsoft Office \ Office \ EXCEL.EXE"

RUNRMTCMD +
CMD ( 'C: \ PROGRAM FILES \ MICROSOFT OFFICE \ OFFICE \ EXCEL.EXE') +
RMTLOCNAME ('149 .45.0.78 '* IP) +
RMTUSER (user) RMTPWD (userpassword)


2 pc from the start> REXEC.EXE program> REXEC xxx.xxx.xxx.xxx-l QSYSOPR +
WRKACTJOB> C: \ data \ actjob.txt
Xxx.xxx.xxx.xxx: AS/400 IP address;-l is lowercase L, for username

PC moves AS/400
REXECD <------ AS/400 transmission PC command to daemon program RUNRMTCMD

REXEC PC transmission AS/400 command to AS/400 REXEC Server ------> STRTCPSVR * REXEC

Qingzhou back in :2004-03-12 09:50:55
Members andrewleading_he comrades to drum enthusiastic applause ~ ~ ~
Looking forward to more and more fresh cream released. . .

Andrewleading_he back in :2004-03-12 09:57:12
Liu thanked the guys encouragement, I also groping, a lot of things that are given to me by a friend. In short, the exchange can progress! More closed or closed! Together with the progress we ......

Fzrxh back in :2004-03-13 17:06:36
Can also strpco in strpccmd

Andrewleading_he back in :2004-03-15 08:57:10
[Quote: dcc06f0af5 = "fzrxh"] can also strpco in strpccmd [/ quote: dcc06f0af5]

Thank you!

Nansong back in :2004-03-18 14:28:17
Following is my DELPHI procedures in the section called AS400 procedures, but did not succeed. Members please指点迷津brothers.

Function TfrmMain.data_trans: boolean;
Var hThread: DWORD;
DllHandle: THandle;
CallPGM: TCallPGM;
StrReturn: String;
Begin

Result: = true;

DllHandle: = LoadLibrary ( 'RDBCA.dll');

Try
= 0 then if DllHandle
Begin
ErrMsg: = 'AS400. However, their mouthsグラIslam who perfected the Criterion and do, failしAnd themselves. ';
Result: = false;
Exit;
End
Else
Begin
@ CallPGM: = GetProcAddress (DllHandle, 'CALLPGM');
If @ nil then CallPGM <>

/ /. However, AS400 their mouthsグラIslam who perfected the Criterion things!
/ / Hornラメーconcert: 1. However, Allah commandedケーtreesョンtheirインスconcertンス
/ / 2 perfected the Criterion! ThingsラIslam. However mouthsグ
/ / 3 AS400> / / 4 AS400 their Solomon trees wereン
/ / 5 TRUE their occasions, AS400> / / FALSE their occasions, AS400> CallPGM (self.handle, 'NEWWESOBJ/MCN700C' trim (mskYear.Text), 'S10A4443', true)

Else
Begin
ErrMsg: = 'AS400. However, their mouthsグラIslam who perfected the Criterion and do, failしAnd themselves. ';
Result: = false;
Exit;
End;
End;
Except> Begin
FreeLibrary (DllHandle);
ErrMsg: = 'AS400. However, their mouthsグラIslam who perfected the Criterion and do, failしAnd themselves. ';
Result: = false;
Exit;
End;

End;

/ /ラAbraham RegionフRegionーwhen things!
FreeLibrary (DllHandle);

End;

Fh2001 back in :2004-03-18 15:26:26
Top! Multiple exciting good text.

Metmay back in :2004-03-23 09:57:30
Asked a vulgar question

RUNRMTCMD +
CMD ( 'C: \ PROGRAM FILES \ MICROSOFT OFFICE \ OFFICE \ EXCEL.EXE') +
RMTLOCNAME ('149 .45.0.78 '* IP) +
RMTUSER (user) RMTPWD (userpassword)

The \ input> Fzrxh back in :2004-03-23 13:05:00
We lose direct ah, you use the environment?

Wz smile-back in 2004-05-03-23 13:16:52
[Quote: 91a94ced7a = "metmay"] asked the question of a low-level

RUNRMTCMD +
CMD ( 'C: \ PROGRAM FILES \ MICROSOFT OFFICE \ OFFICE \ EXCEL.EXE') +
RMTLOCNAME ('149 .45.0.78 '* IP) +
RMTUSER (user) RMTPWD (userpassword)

The \ input> [/ Quote: 91a94ced7a]
Never pay attention to this issue. Input \ become a symbol of the yuan. How matter?

Zzzddd back in :2004-03-23 13:22:56
Clent access can use the API to call!

Metmay back in :2004-03-24 16:36:45
[Quote: 507e0cc85e = "fzrxh"] directly lose ah, you use the environment? [/ Quote: 507e0cc85e]

Equipment is ca, nor will it before pcom

There [,] or visit
Use an array of very troublesome

SUNTDK back in :2004-03-25 12:41:16
Yunlong_su@tdk.com.cn

Greenxiong back in :2004-03-26 14:31:28
Look at the CCSID

How to change the logon on screen?
A simple question: How to modify user interface? Thanks Day day up! : Shock: Pcas400 back in :2004-02-27 11:03:47 How you would like to amend? Specific please contact me. Sean810 back in :2004-02-27 ..
In rpg, how to switch to rename?
RPG units, there are some procedures, switching more than a terrible, how to switch> Are there any good methods ah? Andrewleading_he back in :2004-02-05 14:34:57 What you are saying is that light ..
Help: how to realize the two-OBJ procedures copy machine?
How can a simple method for the type of PGM * OBJECT copy from> (SAVF preserved by FTP or SNDNETF OBJECT reuse can be achieved, but relatively trouble) width=100% cellspacing=0 cellpadding=0 align..
How to use RPG, CL and ACCESS produce a bar code label printing process?
How to use RPG, CL and ACCESS produce a bar code label printing process?: Shock: Hliu back in :2004-09-08 19:17:19 AFP did not support bar code printing? Qingzhou back in :2004-09-09 13:51:34 Shuilai..
How to use FTP in the transmission between the PC and AS/400 documents contain Chinese
How to use FTP in the transmission between the PC and AS/400 documents contain Chinese Since running the Windows operating system (Windows) PC using ASCII coding, and the AS/400 running OS/400 use EB..
[Steps] use SQL DTS function from a DB / 2 to the SQL Server data transmission.
Thanks everyones attention so that the customs systems and enterprise ERP system from several networking with the issue of solving the problem coming to an end, after a self-test function SQL2000 DTS..
www.obicn.com