Re: FTP translate table defaults

2024-04-05 Thread Radoslaw Skorupka

Some clarification, but first - THANK YOU GENTLEMEN.

My problem with translation is minor and I know how to circumvent it.
I can use SITE SBD command. The command with codepage numbers or the 
table. Issued directly or embedded in RC file (kind of .profile for FTP 
session).
My question was: How to customize *default* translation table for given 
user. Not globally for server, but for user. The idea was to use several 
users with different translation settings. Instead I can still issue 
SITE SBD, but I want to avoid it.
So, out of curiosity I tried to provide user default translation 
table... with no effect.
Note, changes in server configuration is not an option, because it is 
global, not user-dependent (I wrote it, but I want to repeat).


And this is not end of my questions... :-)

--
Radoslaw Skorupka
Lodz, Poland





W dniu 05.04.2024 o 20:16, Phil Smith III pisze:

Good questions. SITE CHTAG doesn't work. This is an enduring mystery to me.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Paul Gilmartin
Sent: Friday, April 5, 2024 2:13 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: FTP translate table defaults

On Fri, 5 Apr 2024 13:32:46 -0400, Phil Smith IIIwrote:

...
I don't have a solid answer other than that file tagging seems to matter, so 
chtag is your friend.
.

Does the FTP server have such as a SITE CHTAG command?

Will FTP automatically tag a file to the value in SBDATACONN?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: FTP translate table defaults

2024-04-05 Thread Phil Smith III
Good questions. SITE CHTAG doesn't work. This is an enduring mystery to me.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Paul Gilmartin
Sent: Friday, April 5, 2024 2:13 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: FTP translate table defaults

On Fri, 5 Apr 2024 13:32:46 -0400, Phil Smith IIIwrote:
>...
>I don't have a solid answer other than that file tagging seems to matter, so 
>chtag is your friend.
> .
Does the FTP server have such as a SITE CHTAG command?

Will FTP automatically tag a file to the value in SBDATACONN?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: FTP translate table defaults

2024-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2024 13:32:46 -0400, Phil Smith IIIwrote:
>...
>I don't have a solid answer other than that file tagging seems to matter, so 
>chtag is your friend.
> .
Does the FTP server have such as a SITE CHTAG command?

Will FTP automatically tag a file to the value in SBDATACONN?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: FTP translate table defaults

2024-04-05 Thread Phil Smith III
Radoslaw asked about default translate tables for FTP. My earlier thread titled 
"FTP problem", here and MVS-OE, seems related.

I don't have a solid answer other than that file tagging seems to matter, so 
chtag is your friend.

Or I've misunderstood the question, of course.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: FTP translate table defaults

2024-04-04 Thread Michael Oujesky

See EZY2640I in your FTP log.  Ours:
EZY2640I Using 'TCPIP.FTP.DATA' for local site configuration parameters.
You will want to investigate the SBDATACONN setting.

We encountered translation issues using the default translation table 
(TCPIP.STANDARD.TCPXLBIN) that gave a mu in the translated text for a 
vertical line (used in formatting comments in code).  We ended up 
using CONVXLAT to provide a better table for EBCDIC to ASCII 
translation,  Our JCL:

/SYSTSPRT DD SYSOUT=*
/SYSPRINT DD SYSOUT=*
/SYSINDD DUMMY
/SYSTSIN DD *
onvxlat 'TCPIP.SEZATCPX(EUS)' +
'TCPIP.eus.tcpxlbin'
*
And in the FTP processing statements include:
LOCSITE SBDataconn=TCPIP.eus.tcpxlbin
to override the FTP default table.

Hope that helps.

Michael

At 03:36 PM 4/4/2024, Radoslaw Skorupka wrote:

Content-Transfer-Encoding: 7bit

Scenario:
ftp client (Windows or Linux) is connecting to z/OS based FTP server.
The user has TSO segment and obviously OMVS one. => 
userid.DATASETS.EXIST and /u/userid/home/exists
I can change translation table, I can use RC file to issue some 
commands including SBDATACONN.
However I wanted to use default translation table. I have read 
several manuals and I'm still lost.
I have found several (many!) different "translation table 
hierarchies", varying depending on various factors. But still don't 
know how the hierarchy works. Is it first catch rule or rather last entry wins?
That's important because I want to use different tables for 
different users and cannot change server's settings (which are not 
specified AFAIK).


Any clue?



--

Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


FTP translate table defaults

2024-04-04 Thread Radoslaw Skorupka

Scenario:
ftp client (Windows or Linux) is connecting to z/OS based FTP server.
The user has TSO segment and obviously OMVS one. => 
userid.DATASETS.EXIST and /u/userid/home/exists
I can change translation table, I can use RC file to issue some commands 
including SBDATACONN.
However I wanted to use default translation table. I have read several 
manuals and I'm still lost.
I have found several (many!) different "translation table hierarchies", 
varying depending on various factors. But still don't know how the 
hierarchy works. Is it first catch rule or rather last entry wins?
That's important because I want to use different tables for different 
users and cannot change server's settings (which are not specified AFAIK).


Any clue?



--

Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN