View previous topic :: View next topic |
Author |
Message |
sudipta15ee Beginner
Joined: 03 May 2011 Posts: 8 Topics: 6
|
Posted: Wed May 11, 2011 8:44 pm Post subject: is it possible to download a mainframe file through rexx? |
|
|
Actually I want to download some mainframe files in .txt format through rexx. Every day i have to do same thing. Is there any automation idea for this instance? Please supply some code. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed May 11, 2011 9:05 pm Post subject: |
|
|
Using REXX alone? No. However, REXX, as in other languages, can call other programs and services. What programs/services/utilities do you use to perform this task? What type of server are you transferring files to? What type of processes/services does it require? What type of networking protocol is in use for this process? Do you have to navigate through firewalls? Does the data or transfer process need to be encrypted for security reasons? Does the data requires EBCDIC-to-ASCII translation? What are the rules necessary to accomplish this?
As you can tell, you've left out WAY too many details to even start guessing on an automation process here. |
|
Back to top |
|
|
jsharon1248 Intermediate
Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
|
Posted: Thu May 12, 2011 7:49 am Post subject: |
|
|
How are you doing it now? Even file transfer dialogs in emulators provide the ability to transfer multiple files saved in a list. FTP might also be an option as well as the ISPF C/S (option 3.7). |
|
Back to top |
|
|
jim haire Beginner
Joined: 30 Dec 2002 Posts: 140 Topics: 40
|
Posted: Thu May 12, 2011 12:47 pm Post subject: |
|
|
Some shops will allow the coding of FTP commands within REXX to download files. The problem with this is that FTP usually asks for a user's userid and password, so there are security problems with that.
Another method of doing this would be to set up batch JCL which performs and FTP and substitute the mainframe file name and .txt file in the JCL using the REXX program and executing a "SUBMIT" on the JCL. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
|
Back to top |
|
|
|
|