Good afternoon folks,
I have spent much too long looking for this specific issue out there, but I figure in this list somebody has done it before...
I need to use a Windows-7 script on a Windows server that runs FTP script(s) to
(1) run a process on the "IBM I" that generates a file, and then
(2) download that file.
The remote program is run using the FTP command:
quote rcmd CALL PGMLIB/PROGRAM
It appears that the script runs the next line without waiting for the program to finish.
Is there a way to make it wait?
I have the remote call running now in one FTP script, which the windows batch file runs, and then it runs the download FTP download script in the next line.
Thanks
Alan
Alan Cassidy
Software Engineer
Hospital Physician Partners
954-981-6383 ext. 3433 - Direct phone
786-380-9236 - Mobile phone
acassidy@xxxxxxxxxxxxxx<mailto:acassidy@xxxxxxxxxxxxxx>
www.hppartners.com<
http://www.hppartners.com/>
[HPP Logo FINAL with name-tag-logo-TM]
--------------------------------------------------------------------------------
Confidentiality Notice: This email may contain confidential information or information covered under the Privacy Act, 5 USC 552(a), and/or the Health Insurance Portability and Accountability Act (PL 104-191) and its various implementing regulations and must be protected in accordance with those provisions. It contains information that is legally privileged, confidential or otherwise protected from use or disclosure. This e-mail message, including any attachments, is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.
--------------------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.