Thanks in advance,
A. Abela
You must have the Organizer running before STRPCCMD will work.
Don Burdette
You can't do that for a batch job. What you could do is to
use the CPYTOPCD to create a PC file in the shared folders, then
it could be directly available to the PC through the I: Drive. If
you have a TCP/IP link with your AS/400, you could also run an FTP
daemon on the PC and have the AS/400 issue the FTP command to transfer
to the PC Disk. You could also have a scheduler program run on your
machine and have it do the file transfer. If you are worried about
the synchronisation, you could issue a RMTCMD from the PC to run
your batch job and then do the file transfer to the PC.
Benoit Mercier
Groupe Informatique Present Inc.
If you have an ethernet connection on your AS/400 you can do this using
FTP. You will need a TCP/IP stack on your PC (eg W95) and also an FTP
server package. There are a number of shareware packages available.
We use this technique to:-
- send files from a PC to the AS/400
- schedule an AS/400 program from the PC to deal with the file(s)
- Get the AS/400 to send back files as they become available.
We haven't found a way yet to schedule a PC program from the AS/400
using FTP.
--
Ian Clough (at Home)
It is a older problem in this news.
The STRPCCMD command only work in the interactive programs runing in
the PC workstation function with PCO or Rumba/400 PCO or equivalent soft
active in sesion with STRPCO command in OS/400 job.
See the PC/Support or Client Access Administration Manual for details.
Just a though
-------------------------------------------------------------------
Martin Kendrick ( AS400/PC Programmer/Analyst)
Life is a Bowl of Cherries --- Bite Hard
Other solution is these pocedure:
1st- Transform the all fields in data file to EBCDIC contents (field in packed/binary
formats)
2nd- Transform the new (expanded) data file to ASCII-PCFILE in folder via
CPYTOPCD TRNFMT(*TEXT) TRNTBL(*DFT) command.
3rt- Access to shared folders via any PC and copy these PCFILE.
Best regards,
Sui-sum
>Best regards,
>Sui-sum
Hi,
I do not know if it still exists, but when OS/2 v2 was around there was
the AT command. This would allow you to suspend tasks until a certain
time.
Greets,
Rob
--
Rob Muller Phone +31-(0)20-6417524 Quote :
E-mail rmu...@xs4all.nl How do we get to
where we're coming
The Netherlands from. (Seal)
The only problem I experienced with downloading was a Rumba problem, not
Commando. Rumba version was from IBM, Client Access for Windows V3R1M1.
The transfer would not run if the current directory on the PC was not
RUMBACAW.
Quick solution was to write a VB program to change the directory and then
run
the transfer, then use Commando to run the VB program.