× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: FTP to As400 via a script on an IBM VSE System
  • From: Patrick Townsend <townsend@xxxxxxxxxxxxxx>
  • Date: Tue, 01 Jun 1999 08:51:33 -0700
  • Organization: Patrick Townsend & Associates, Inc.


Lynn,

You should be able to put data to the AS/400 from VSE. We have customers
doing it from MVS, but I don't think we have anyone with VSE yet. But I
think it should be the same. The format of the put command would be:

   put  my-vse-file  library/file.member

where "library" is the AS/400 library containing the "file" and "member"
is the file member.

Since VSE is an EBCDIC system you might want to change to Binary mode
before doing the FTP session.

You can run an AS/400 CL program with the FTP RCMD subcommand:

    quote rcmd call mylib/myprogram

The CICS environment will not be of any use at all!

Hope this helps,
Patrick
-- 
IBM AS/400 communications, FTP automation, and network security
software and consulting services.

http://www.patownsend.com


Lynn DiRosa wrote:
> 
>         We have an AS400 with an IP Address & FTP (of Course).  We also have
> an IBM VSE System which we recently loaded the software TCP/IP for the VSE.
> Now that our VSE system has an IP Address we can send files to the AS400 via
> FTP, we want to automate this process.  I need to created a script to run on
> the VSE that accomplishes the following:
> *       Lock the Data collection File on the VSE
> *       Send the file to the AS400 via FTP
> *       Call a CL Program on the AS400 that will process the Data Collection
> File as needed.
> *       unlock the Data Collection File on the VSE
> 
> We would probably be processing this at night for the time being.  I have
> entered the manual commands under FTP from the AS400 to do the "GET", but I
> really need some help in setting up a script on the VSE System which will do
> the "PUT".  One last question, will a CICS environment on the AS/400 help me
> in any way?
> 
> Thanks,
> Lynn P. DiRosa
> Gibraltar Steel, Corporate
> Information Services
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.