PDA

View Full Version : Automatische Datenübertragung



Seiten : [1] 2

Tom5
14-01-05, 08:07
Guten Morgen,

obwohl ich schon mal im November dieses Problem angesprochen habe und jede Menge Hilfe bekommen habe, läuft es immer noch nicht richtig.

Folgendes Problem: Ich will aus einem CL Programm eine automatische Datenübertragung auf einem Windows 2000 Server aufrufen. Das Programm macht alles bis es zum RUNRMTCMD Befehl kommt. Da bleibt es einfach stehen und ich kann das Programm nur noch mit Systemanfrage 2 beenden. Hat jemand evtl. eine Lösung dafür ?

Wir haben eine AS/400 820 mit V5R1
CA Express
Windows 2000 mit SP4

Vielen Dank schonmal für evtl. Tips

TARASIK
14-01-05, 08:23
Hallo Thomas,
wenn Du mit netstat und Option 3 danach den Port 8475
suchst ist er empfangsbereit ?

Tom5
14-01-05, 08:28
Der Port wird über NETSTAT garnicht angezeigt.

Gruß

Tom5
14-01-05, 08:29
Falsche Info. Wenn ich F14 drücke, wird er angezeigt und ist empfangsbereit(unter lokaler Port)

Gruß

TARASIK
14-01-05, 08:45
Hallo Thomas,
jetzt gibt es noch diese Möglichkeit:

1. *Enter the command DSPSBSD QSYS/QSYSWRK, and select option 7
(Routing entries). *Scroll down to the entry with sequence
number 2511.
2. *Verify that this entry has a compare value of 'REXECSRVR'
(a 9 character value). *If this entry has a value of 'REXECSVR'
(an 8 character value), you are not experiencing the problem
which can be corrected by this procedure; in this case, contact
your service provider for additional assistance.
3. *If *you found the 9-character compare value in step 2,
press F3 to end the DSPSBSD command, and then enter the
following command exactly as shown:
CHGRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2511) CMPVAL('REXECSVR')
Note that the compare value MUST be exactly 8 characters in
length and entered in all uppercase.
4. *Start the REXEC server using the command STRTCPSVR *REXEC,
and verify that the server is operational.

Tom5
14-01-05, 09:34
Hallo Tarasik,

habe ich alles gemacht. Funktioniert leider trotzdem nicht.

Gruß

Fuerchau
14-01-05, 09:50
So wie ich das sehe, betrachtet ihr die falsche Richtung. Nicht die AS soll Kommandos ausführen sondern der W2K-PC !
Ist dort denn der Service für Kommandos auf dem PC aktiv ?

In der Dienstverwaltung mal schauen:
"iSeries Access für Windows - ferner Befehl"

Übrigens:
Im RUNRMTCMD (mit F10) Parameter WAITTIME steht Default auf *NOMAX !

TARASIK
14-01-05, 09:51
Hallo Thomas,
ist denn auf dem Pc auch der Dienst gestartet ?

Ist der User bei dem Aufruf des runrmtcmd auch dabei (mit Passwort) und ist er auch berechtigt für diese Aktion ?

TARASIK
14-01-05, 10:47
Hallo Thomas,
sollte der runrmtcmd nicht funktionieren gibt es mit dem
Ptf SI11806 einen neuen Command wo man auch gleich
den Benutzer mitgeben kann.

Siehe:

New service pack for V5R1 Client Access Express; data transfer tool
Ken Rokos - 12:05pm Nov 18, 2003 PST
It's PTFs SI10376 and SI09915. At the moment, they are not yet available on the FTP site, but you can order them and have them sent on CD or have the CD images put on the PTF FTP site.
There is also a new tool for data transfer. The PTF says: A new tool, RXFERPCB.EXE has been added to iSeries Access for Windows Data Transfer. This new tool was added to aid in remote data transfers via Incoming Remote Command and RUNRMTCMD from the iSeries. RXFERPCB is much like RTOPCB and RFROMPCB except that it allows you to specify a user ID and password on the command line. This helps to alleviate remote signon problems that are typical when trying to do remote transfers with RTOPCB and RFROMPCB. To run RXFERPCB, specify the transfer request profile name, userID, and password. An example invocation of RXFERPCB and its parameter descriptions are as follows:
RXFERPCB request userID password
request - Fully qualified file name of any Client Access upload or download request of type .DTF, .DTT, .TTO, or .TFR. userID - A valid iSeries user profile for the system specified in the request. password - A valid password for the specified user profile.
RXFERPCB C:\TRANSFERS\MYREQUEST.DTF myuserid mypassword
RXFERPCB can be found in the directory where you installed iSeries Access for Windows.
NOTES:
RXFERPCB specific messages and help text will display as English only. However, most error and warning messages will display using the correct language.
If any parameter contains embedded blanks, you must enclose it in double quotation marks.

Fuerchau
14-01-05, 14:59
@Tarasik
Dies ist für RUNRMTCMD ZUR AS/400 und nicht von AS/400 zum PC !