Using FTP with the Mainframe A Quick How To…
Using FTP with the Mainframe A Quick How To...
By Jeff Cutler
The Problem
You have a file on the mainframe you want to use in a PC SAS session. You could download it to your local PC but:
z There are character translation issues z Binary fields are an issue z Downloading via ftp on the command prompt
can be a hassle.
Use a FILENAME statement instead...
The FILENAME statement works for more than just local files. The FILENAME statement can use the FTP protocol to read your file.
If your mainframe allows FTP connections (most do) you can utilize this.
Here is an Example
FILENAME CAPTLOG FTP "'MYDATA.DASD.FILE.HERE'" debug host='ftp.starship.enterprise' user="spock" pass="1234" S370V RCMD='SITE RDW NOWRAPrecord READTAPEFORMAT=V' ENCODING='ebcdic1047` lrecl=1000;
DASD Names need quotes
You need to ensure the mainframe name has single quotes and surrounded by double quotes:
Start with Double Quotes!
"`MYDATA.DASD.FILE.HERE`"
Then add Single quotes
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- using ftp with the mainframe a quick how to
- lab 5 filezilla server secure setup
- ssh secureshell and sftp secure ftp
- shoveling a command shell using default windows command
- precipitation processing system pps transition from ftp
- configuring windows firewall
- ftp server using mcf51cn family and freertos
- windows nt server tcp ip perle systems
- titan ftp server and port forwarding with a firewall
Related searches
- how to buy a car with cash
- how to get a quick loan online
- how to figure percentages using a calculator
- how to walk with a cane properly
- how to buy a home with cash
- how to come up with a title
- how to negotiate with a car salesman
- how to write a quick bio
- how to solve a system using elimination
- how to make a calculator using python
- using ftp linux
- how to open ftp files