On Wed, Dec 1, 2010 at 1:57 PM, McKown, John
<[email protected]> 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?

man netrc

$ cat .netrc
machine zOS-hostname-or-ipaddress macdef init
runique

$

> 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.

A lazy man is an efficient man!

Enjoy!

Paul

> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> [email protected] * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM

----------------------------------------------------------------------
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