Search
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
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 |
www.obicn.com
|
