Copy MVS PDS to PC file structure as ASCII
Things than can be done to get data from MVS
Create an ASCII version of MVS files to PC
c:
cd \mvsfiles\is03\share\text
help ftp
ftp -?
open hostname
cd 'is03.share.text'
mget *
dir > $$
bye
rename *. *.txt
The change directory above will not create a directory you must already have created such directories on your PC. XCOPY can create directories in one shot, if that would help. If mget is not available on your FTP you will probably want to create an ftp script with individual filenames created programmatically. The rename is not necessary, but as shown will provide a standard extension used on PC.
There are drawbacks to ASCII translations which are not often 100% reversible even though the same systems are used.
Another disadvantage is that the ISPF statistics are not included in the PC file directory information but the above will include the ISPF statistics in $$ file (or $$.txt file).
Advantages to an ASCII version include being able to run a local search on your PC for text using AltaVista Discovery (FREE, see their web site).
http://discovery.altavista.com/
Unrelated -- Newest Search around for general information. It doesn't replace your expert use of AltaVista and does not include newsgroups as does DejaNews but I think you will find it interesting.
http://www.ask.com/ "Ask Jeeves"
Possibly also zip to a diskette as a continuation of above
a:
c:\winzip\pkzip is03txt.zip *
dir a:
Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.
FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [host]
-v
Suppresses display of remote server responses.
-n
Suppresses auto-login upon initial connection.
-i
Turns off interactive prompting during multiple file
transfers.
-d
Enables debugging.
-g
Disables filename globbing (see GLOB command).
-s:filename Specifies a text file containing
FTP commands; the
commands will automatically run after FTP starts.
-a
Use any local interface when binding data connection.
-w:buffersize Overrides the default transfer buffer
size of 4096.
host
Specifies the host name or IP address of the remote
host to connect to.
HELP within FTP | ||||
! | delete | literal | prompt | send |
? | debug | ls | put | status |
append | dir | mdelete | pwd | trace |
ascii | disconnect | mdir | quit | type |
bell | get | mget | quote | user |
binary | glob | mkdir | recv | verbose |
bye | hash | mls | remotehelp | |
cd | help | mput | rename | |
close | lcd | open | rmdir |
Visitors to this page, since Jan 02, 1999 (will be more updates later)
Visit my home page The REXX
Macros Toolbox
Please send your comments concerning my pages or materials to: David using send email comments
Disclaimer and site usage: Material at The REXX Macros Toolbox is available without warranty of any kind. Redistribution of source, coding and documentation other than from this site is prohibited.
Copyright © 1995 - 2006, F. David McRitchie, All Rights Reserved