Table of Contents

1. Introduction
1.1. Features
1.2. Supported Environments
z/OS Requirements
Remote Client Requirements
2. Co:Z SFTP Configuration
2.1. Co:Z SFTP Quick Start
2.2. Configuring the Co:Z SFTP Server
Modifying the SFTP Subsystem
Co:Z SFTP Server configuration overview
Sitewide server configuration
User specific customization
Co:Z SFTP Server logging
2.3. Configuring the Co:Z SFTP Client
Client configuration overview
Sitewide client configuration
User specific customization
3. Using the Co:Z SFTP server
3.1. Setting, displaying and clearing file transfer options
Example: Setting and displaying basic options
Example: Setting multiple options
Example: Showing all options
3.2. Reading the error log
Example: Getting and displaying the error log
3.3. Working with Datasets
Navigating Datasets
Transferring Datasets
Listing datasets and PDS directories
3.4. Working with POSIX files
Transferring Files
3.5. Working with JES jobs and spool files
Obtaining JES job status
Transferring JES spool files
Submitting JES jobs
JES related options
4. Using the Co:Z SFTP client
4.1. Starting the Co:Z SFTP client on z/OS
4.2. Co:Z SFTP client logging
4.3. Setting, displaying and clearing file transfer options
Example: Setting and displaying local (client) transfer options
Example: Setting multiple local options
Example: Showing all local options
4.4. Coordinating Transfer Options with a Co:Z SFTP Server
4.5. Working with Datasets
Navigating Datasets
Transferring Datasets
Transferring Datasets Between Co:Z Systems
Listing datasets and PDS directories
4.6. Working with POSIX files
Transferring Files
4.7. Using the Co:Z SFTP client in batch
Notes for running batch mode SFTP
Sample SFTPPROC and batch scripts
PROC for executing the Co:Z SFTP client (cozsftp) in batch
Co:Z SFTP Batch Script Settings
Logging in batch
Batch job containing examples of running cozsftp in batch
Wild-card downloading using a DD
Conditional command processing
5. Automation with System Console Messages
5.1. Console Notification Co:Z SFTP Option (Notify)
5.2. Post Completion Exit (CZPOSTPR)
5.3. SMF Exit
A. Command Reference
cozsftp — secure file transfer program for z/OS
sftp-server — SFTP server subsystem
B. Co:Z SFTP options
B.1. General transfer options
B.2. Miscellaneous options
B.3. Dataset allocation options
C. Session config files
C.1. Specifying notification (immutable) options
C.2. Specifying fixed (immutable) options
C.3. Specifying default options
C.4. Specifying file pattern specific options
Pattern examples
D. Dataset Name Determination
D.1. maxdsndirlevels option
E. SMF Information
E.1. IBM FTP-compatible SMF 119 record subtypes
E.2. New SMF 119 record subtypes
E.3. Enabling SMF recording
Using SMF type/subtype specific permissions
E.4. Using the Real-Time Co:Z SMF Interface
E.5. SMF Record Formats
Common Sections
Subtype 3 - FTP client transfer completion
Subtype 70 - FTP server transfer completion
Subtype 100 - FTP server transfer initialization (real-time SMF data NMI record format)
Subtype 101 - FTP client transfer initialization (real-time SMF data NMI record format)
Subtype 192 - Co:Z SFTP server log messages
Subtype 193 - Co:Z SFTP client log messages
Subtype 194 - Co:Z SFTP server interim transfer (real-time Co:Z SMF interface)
Subtype 195 - Co:Z SFTP client interim transfer (real-time Co:Z SMF interface)
F. Client Authentication Mechanisms
F.1. Interactive password authentication
F.2. OpenSSH keypair authentication
F.3. OpenSSH SSH_ASKPASS authentication
F.4. RACF Digital Certificate authentication
Renewing RACF self-signed certificates
G. Client Compatibility
H. Co:Z Environment Variables
I. Restricting OpenSSH users to SFTP
J. Setting up a test OpenSSH system on z/OS
K. Creating a Custom Unicode Table from the IBM FTP Translate Table
L. License

Saint Charles, Missouri
info@coztoolkit.com
+1 636.300.0901

Copyright© 2009 - 2023 Dovetailed Technologies, LLC. All rights reserved. Co:Z® is a registered trademark and Co:Z Toolkit™ is a trademark of Dovetailed Technologies, LLC.

Saint Charles, Missouri
info@coztoolkit.com
+1 636.300.0901

Copyright© 2009 - 2023 Dovetailed Technologies, LLC. All rights reserved. Co:Z® is a registered trademark and Co:Z Toolkit™ is a trademark of Dovetailed Technologies, LLC.