Robert

The best list for questions relating to z/OS Communications Server (CS), 
especially the IP component of z/OS CS, is the following:

For IBMTCP-L subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBMTCP-L

-

I assume you found Table 14, "FTP client search orders" in the z/OS 
Communications Server IP User’s Guide and Commands manual and you have been 
trying to work out how best to exploit the possibilities.

<quote>

TSO shell

1. SYSFTPD DD statement
2. tso_prefix.FTP.DATA
3. userid.FTP.DATA
4. /etc/ftp.data
5. SYS1.TCPPARMS(FTPDATA) data set
6. tcpip_hlq.FTP.DATA file

z/OS UNIX shell

1. $HOME/ftp.data
2. userid.FTP.DATA
3. /etc/ftp.data
4. SYS1.TCPPARMS(FTPDATA) data set
5. tcpip_hlq.FTP.DATA file

</quote>

> I have looked at FTP client search orders in the IP manuals for some kind of 
> global FTP.DATA, but it is unclear to me the best way to handle this issue.

I wasn't sure whether this was an "issue" or a "problem" since, with the 
widespread misuse of the word "issue" these days - most regrettably among those 
who I would guess from their names do not use English as their first language, 
it is always so very murky. However in ...

>  Besides CA7, we have a few people that submit FTP batch jobs thru TSO. I 
> would rather not have to add SYSFTPD DD statements.

... the "would rather not have to add" implies that this is more to be 
characterised as a *problem* rather than an *issue*  so my initial instinct 
simply to translate "issue" to "problem" in order best to understand what was 
intended - so very difficult with this wholesale discarding of a perfectly 
serviceable word in the interests of some sort of quite unnecessary euphemism - 
would appear to be correct.

I believe that the "couple of problems" you mentioned before but which you did 
not appear to describe actually *include* this matter - a word I am now obliged 
to use in order to be clear what I am talking about, a word which probably 
would have been "issue" in the past before it was misappropriated by so many - 
of which of the options for overriding the default FTP parameters fits which 
circumstances.

I believe I am closing in on the now clearly identified *problem* as follows:

1. You initially tried to get by using only default specifications for the FTP 
client instances operating from your z/OS system with the z/OS CS IP FTP client 
program invoked either in batch - via CA7 - or TSO.

2. You discovered that the batch client programs which relied on a tape mount 
failed unless you managed to change "AUTOTAPEMOUNT FALSE", the default value of 
the parameter for the FTP client program, to "AUTOTAPEMOUNT FALSE".

3. You appreciated that "AUTOTAPEMOUNT FALSE" was the appropriate setting for 
the parameter in the case of TSO users to guard against operational problems 
should the TSO user suffer from "finger trouble" and mistype data set names.

I can't see what is wrong with exploiting the rich variety of options present 
with most z/OS CS IP parameter data sets and doing what you propose, namely

> Could I make a CA7.FTP.DATA and have all jobs submitted thru CA7 
> automatically use this file?

Assuming, as you appear to suggest, *all* these batch FTP jobs take on the 
"userid" CA7 and TSO users never do, Yes!

> (I suppose TSO users would have tso_prefix.FTP.DATA when needed).

I would suggest another couple of possibilities:

a. Enter whatever FTP subcommand changes the parameter where necessary and 
available

b. Set up a changed generically named "FTP.DATA" data set and "ALLOCate" it 
with DD-name SYSFTPD prior to invoking the FTP command

I'm going to have to confess not having tried b and I don't have facilities to 
hand in order to try it but I *think* it should work and maybe someone reading 
this can confirm whether or not it works.

Incidentally, should you discover that you really need to change one or more 
default parameters for *all* users of the FTP client program, I would suggest 
tcpip_hlq.FTP.DATA as your installation default data set, where I gather that 
"tcpip_hlq" is "TCPIP" in your case.

If you would like to get some background on IBM's view of this topic of how to 
exploit the variety of options for z/OS CS IP configuration data sets, let me 
bring to your attention these sentences from the "Configuration data set naming 
conventions" section in the z/OS CS IP Configuration Guide manual:

<quote>

1.2.5.1 Configuration data set naming conventions

When searching for configuration files, you can explicitly tell TCP/IP where 
most configuration files are by using DD statements in the JCL procedures or by 
setting environment variables. Otherwise, you can let TCP/IP dynamically 
determine the location of the configuration files, based on search orders shown 
in Table 1 in topic 1.2.5.1.2.

For example, in Table 1 in topic 1.2.5.1.2, for the FTP server application, if 
the installation did not code the //SYSFTPD DD statement, the FTP server would 
search for jobname.FTP.DATA, then file /etc/ftp.data, then data set 
SYS1.TCPPARMS(FTPDATA), and finally hlq.FTP.DATA.

</quote>

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B3A0/1.2.5.1

and

<quote>

1.2.5.1.1 Dynamic data set allocation

...

Following are some of the data sets that are only dynamically allocated by 
TCP/IP in a configuration file search order (you cannot specify them with DD 
statements in JCL):

ETC.PROTO ETC.RPC ...

</quote>

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B3A0/1.2.5.1.1

Now, reading between the lines and appreciating that development authors - like 
politicians - can never ever confess to being wrong, I get the impression that 
the z/OS CS authors feel a pang of guilt that they rely on the dynamic 
allocation they were obliged to use in the predecessor product "TCP/IP for MVS" 
as "ported" from "TCP/IP for VM" back around 1990 and that now very few data 
sets still - hanging their heads in shame! - haven't managed to get the 
MVS-OS/390-z/OS "DD makeover".

> I'm interesting in hearing how others handle their ftp.data ...

So, if you're looking for general guidance from IBM sources, I would suggest 
that z/OS IBM folk would generally prefer the use of traditional DD-statements. 
But that's just my nose-tapping opinion!

Chris Mason

On Tue, 12 Jul 2011 17:01:21 -0500, Johnston, Robert E 
<[email protected]> wrote:

>We started out years ago with CA's TCP/IP and FTP and it has remained the 
>standard FTP in Production since then. A new project came up involving lots of 
>new batch FTP jobs to a Windows machine and I suggested they use IBM FTP. It 
>has gone well for the most part and the couple of problems encountered were 
>fixed, but I'm not sure it was the "best" fix for the problems.
>
>All production batch is submitted via CA-7 scheduler. The userid associated 
>with all jobs submitted is "CA7". For some FTP from tape we had to add a 
>SYSFTPD DD to batch jobs to add "AUTOTAPEMOUNT     TRUE".
>
>I have looked at FTP client search orders in the IP manuals for some kind of 
>global FTP.DATA, but it is unclear to me the best way to handle this issue. 
>Besides CA7, we have a few people that submit FTP batch jobs thru TSO. I would 
>rather not have to add SYSFTPD DD statements.
>
>Could I make a CA7.FTP.DATA and have all jobs submitted thru CA7 automatically 
>use this file? (I suppose TSO users would have tso_prefix.FTP.DATA when 
>needed).
>
>We don't have a SYS1.TCPPARMS(FTPDATA) or TCPIP.FTP.DATA. Is that the way to 
>go?
>
>I'm interesting in hearing how others handle their ftp.data for batch clients. 
>Thanks for any information or advice.
>
>Robert Johnston

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to