-----John McKown wrote: -----

>I download data from z/OS. And I do it repetitively. Basically, run a
>job on z/OS to generate a file. Download the file. Process on Linux.
>Repeat. I do some intermediate work on z/OS between runs. This work
>changes the output of the job. I want to compare the output from the
>various runs. I currently do this by starting up the Linux ftp
>client; do a runique; then get the file. This results in the ftp
>client creating a series of file on Linux with .1, .2, .3, and so on.
>What I would like to do is not need to remember to do the runique
>command, but have it be the client default. I cannot change the z/OS
>ftp server's defaults. Well, I could, but I'd catch you-know-what if
>I did. <grin>. Is there some way to have the Linux ftp client do this
>for me? Why not just depend on myself? Because I sometimes mess up.
>And it only takes once to overwrite a file. Is there some other way
>to do this? 
> 
>Oh, I guess that I could make an ftp step in the job with an sunique
>and reverse the roles. However, I'm not actually creating a file. I'm
>creating a SYSOUT report. And the z/OS ftp server can then make that
>available to the Linux ftp client. Saves me from creating the dataset
>and cleaning it up later. I guess that I could do a GDG, but that's
>more of a problem than I want to bother with. I'm lazy. 

Could you write a script that runs the Linux FTP client with commands
read from a file? We have an automated daily transfer of accounting
data from a Linux application to a z/OS application that works this
way. This transfer also uses the FTP client option that calls for
reading logon credentials from a file. In the absence of that option,
I am not sure what would happen when the FTP client attempted to prompt
you for a user name and password with standard input redirected.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to