Subscribe
THE DAILY DIGEST

The daily edition.

Essential reading from Rocket Enterprise. Straight to the source.

Archived edition
DAILY EDITION1 story· 5 min read

Fileshare (Multi-User File Server & Transaction Logging)

When mainframe workloads are migrated to distributed Linux/UNIX or Windows systems, applications frequently rely on indexed (VSAM KSDS/ESDS/RRDS), relative, and sequential datasets. If multiple batch initiators, CICS regions, or remote client programs access these files across shared network file systems (such as NFS or SMB), operating system file-locking overhead, caching delays, and network bandwidth saturation can degrade performance and risk file corruption.

IN FOCUS

Fileshare (Multi-User File Server & Transaction Logging)

When mainframe workloads are migrated to distributed Linux/UNIX or Windows systems, applications frequently rely on indexed (VSAM KSDS/ESDS/RRDS), relative, and sequential datasets. If multiple batch initiators, CICS regions, or remote client programs access these files across shared network file systems (such as NFS or SMB), operating system file-locking overhead, caching delays, and network bandwidth saturation can degrade performance and risk file corruption. [1]

Read the full briefing

1. Capability Overview

When mainframe workloads are migrated to distributed Linux/UNIX or Windows systems, applications frequently rely on indexed (VSAM KSDS/ESDS/RRDS), relative, and sequential datasets. If multiple batch initiators, CICS regions, or remote client programs access these files across shared network file systems (such as NFS or SMB), operating system file-locking overhead, caching delays, and network bandwidth saturation can degrade performance and risk file corruption.

Fileshare is Rocket Enterprise Server’s dedicated client/server database file engine for COBOL data files (Using the File Handling Redirector Module). Operating as a centralized background service, Fileshare manages multi-user concurrent record locking, reduces network traffic by filtering data at the server level, and provides ACID transaction processing with atomic COMMIT and ROLLBACK capabilities (Transaction Processing (FileShare) - Rocket Software Documentation).

2. Architecture & How It Works

  • Client/Server Redirection via CCI (FHREDIR): Applications communicate with the Fileshare daemon process (fs) using Rocket’s Common Communications Interface (CCI) and the ccitcp2 background registration daemon (Using CCITCP - Rocket Software Documentation).
    • At runtime, COBOL file operations (READ, WRITE, REWRITE, DELETE) are redirected to the network client using the File Handling Redirector module (FHREDIR) (Using the File Handling Redirector Module).
    • Rather than transferring entire file segments across network mounts for local evaluation, the client sends record keys and receives only requested records, drastically curtailing bandwidth consumption.
  • Transaction Processing & Data Resiliency: Fileshare provides full transactional integrity. Programs declare logical unit of work boundaries using standard COBOL verbs:
    • Executing COMMIT flushes dirty cache buffers to disk, logs completed transaction updates, and releases all record locks across files participating in the transaction (Transaction Processing (FileShare) - Rocket Software Documentation).
    • Executing ROLLBACK reads transaction log records and reverts all uncommitted file modifications made by that process.
    • To guard against partial commits, attempting to issue a CLOSE against a file that participates in an uncommitted transaction is blocked by the runtime engine (returning a 9/100 file status) (Transaction Processing (FileShare) - Rocket Software Documentation).
    • Advanced Recovery & Hot Backups: When advanced recovery logging is enabled, administrators can execute online Hot Backups to take a snapshot of live data files and cycle the log file without stopping the Fileshare server, as well as perform rollforward recovery to restore files up to the point of a disk failure (Best Practices for Backup and Recovery).
  • Synchronous Communication Optimization (-sc): By default, the Fileshare daemon polls the host keyboard for administrative console inputs. In production environments where high transaction throughput is required, starting the server with the synchronous communications option (-sc on UNIX or /sc on Windows) disables console polling, improving file processing throughput by up to 10x (Synchronous Communications - Rocket Software Documentation).

3. Practical Configuration & Operational Tidbits

  1. Configuring the Server via fs.cfg: Instead of specifying startup options manually on the command line, administrators can encapsulate runtime parameters in a configuration file named fs.cfg (or referenced with -cf <path>) (Using a Fileshare Configuration File - Rocket Software Documentation). Standard options include -s <server-name> (registers the server logical identifier with CCI), -l <logfile> (enables transaction logging), and -pf <password-file> (enables vault-secured authentication) (Fileshare Options - Rocket Software Documentation).
  2. Configuring Enterprise Server as a Client in ESCWA:
  3. Monitoring via the FSVIEW Utility: Because production Fileshare instances configured with -sc cannot be inspected via local keyboard inputs, administrators monitor active client connections, open file handles, active transactions, and held record locks remotely using the FSView utility or CCI administrative commands (Synchronous Communications - Rocket Software Documentation).

4. Reference Citations (Rocket Enterprise Server 12.0 Manuals)

Enterprise Server · 12.0 · Linux/UNIX
Documentation references
REFERENCE 1Using the File Handling Redirector ModuleEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/tkv1742952119034.htmlREFERENCE 2Transaction Processing (FileShare) - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/eow1742951710310.htmlREFERENCE 3Using CCITCP - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/nao1742952120081.htmlREFERENCE 4Best Practices for Backup and RecoveryEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/wqr1742952123671.htmlREFERENCE 5Synchronous Communications - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/wng1742951557404.htmlREFERENCE 6Using a Fileshare Configuration File - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/gur1742951383629.htmlREFERENCE 7Fileshare Options - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/pds1742951556616.htmlREFERENCE 8Setting Up an MSS-enabled Enterprise Server as a Fileshare ClientEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/tbi1742951557639.htmlREFERENCE 9Accessing All Datasets via Fileshare - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/tfw1742951557946.htmlREFERENCE 10Fileshare Client Configuration - Rocket Software DocumentationEnterprise Server · Rocket Docs 12.0 · Linux/UNIXhttps://docs.rocketsoftware.com/bundle/enterpriseserverux_ug_120/page/urr1742951557558.html
That’s the briefing.You’ve reached the end of this edition.
More editions

From the archive

View all
Sep 27

CICS Web Services (CWS) & Modern API Integration

Sep 26

Observability via Consolidated Tracing Facility (CTF) & OpenTelemetry

Sep 25

IMS Support (IMS TM & IMS DB Emulation)