SFTP Patterns - '*'

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
atrivino
Posts: 17
Joined: Wed Jul 13, 2011 9:28 am

SFTP Patterns - '*'

Post by atrivino »

Hi,

I have a general question about a trace I came across. Within the trace, I can see the transfer options (inbound) for the client. I noticed that in the transfer option there are several options that contain '*' next to them. Is the '*' next to the option an indication that this option was selected by a pattern or was it user entry?

Example:

17:50:59.44169Ù ZosSettingsIÙ: Transfer options: clientcp=ISO8859-1,*lrecl=27994,*mode=texttextÙ,notify,*recfm=vb,*release,*servercp=IBM-1047IBM-1047Ù,servertimeout=60,trim
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Re: SFTP Patterns - '*'

Post by coz »

The asterisk (*) is used to signify that an option has been overridden for this specific transfer. This can occur for several reasons:

- A matching file pattern has been applied
- An exit has modified option(s)
- A z/OS to z/OS transfer has been requested via the dsput or dsget command

If you activate Debug level tracing: COZ_LOG=ZosSettings=D a message will be emitted if the overridden options were set via a file pattern.

User set options (via zopts, lzopts, ls /+, etc) are not marked with an asterisk.
Post Reply