Go on z/OS - Group home

IBM Open Enterprise SDK for Go 1.17 is now available!

By James Tang posted Fri December 03, 2021 08:42 AM

Modernization is about delivering the best value to your clients, more quickly. This includes reducing the cost of maintaining your existing applications by updating or extending them. With the latest version of IBM Open Enterprise SDK for Go, IBM brings the benefits of the popular open-source Go language to accelerate application modernization on z/OS. Go's lightweight characteristics is designed for application modernization and development of cloud-native applications in addition to optimizing performance.

IBM Open Enterprise SDK for Go 1.17 brings several significant features from the open-source community.  Here are some highlights:
  • Pruned module graphs feature to include only immediate module dependencies, to ease development of Go applications
  • Added two new functions (unsafe.Add and unsafe.Slice) in the unsafe package, to help applications conform to unsafe pointer rules more easily
  • Enhanced URL query parsing to reject non-percent-encoded semicolons, to enhance URL requests processing and error logging
  • Added numerous improvements and bug fixes, including verification improvements to crypto/x509.

Support for access to VSAM data sets
In addition, IBM Open Enterprise SDK for Go 1.17 also delivers a very important enhancement to expand data set support for Go applications to work with key data on the z/OS platform. It contains support for direct access to Virtual Storage Access Method (VSAM) data sets so that clients can access their existing VSAM record data more easily. Developers no longer need cgo (enables Go to call C code) to access their VSAM data. Recordio is a Go module that provides a way to access and manipulate VSAM databases directly from Go on z/OS. Operations are implemented through the z/OS Language Environment interfaces without any requirement to call C from Go. Operations include: 
  • Opening, closing, and reopening VSAM databases
  • Record, reading, and writing records
  • Locating records
  • Updating records
  • Deleting records
Inputs and outputs from these operations are uniform byte slices, which eliminates the need for error-prone size specifications. Various utility functions are also included for converting back and forth between byte slices and structs, so that record types may be programmed as Go structs.

Download Go today and take advantage of this enormously popular and growing technology on IBM Z to power your organization's digital transformation!

How to obtain IBM Open Enterprise SDK for Go?
IBM Open Enterprise SDK for Go is available for zero license charge through Shopz (5655-GOZ) SMP/E, or you can download the PAX here. Optional world-class IBM Software Subscription and Support is available with your order through Shopz (5655-GOS).

Supporting Links:
IBM Open Enterprise SDK for Go product page
For additional information on installation, troubleshooting and packages included in this offering please visit the IBM Documentation.