IBM WebSphere Application Server Liberty Batch z/OS Dataset Contention White Paper

This document describes the problems and solutions of WebSphere Application Server WebSphere Liberty Batch: z/OS dataset contention.


IBM WebSphere Application Server Liberty Batch z/OS Dataset Contention White Paper - cover page
Brand
IBM
Category
Application program
Document type
Other
Language
English
Pages
16
File format
PDF
File size
422 KB
Published
01 December, 2023
Updated
01 December, 2023
MD5 checksum
E88E7BD8640BB6A908446BF42CFC0A8B

About this manual

This IBM white paper (WP102667, September 26, 2016) explains z/OS dataset contention that arises when WebSphere Liberty Batch jobs are integrated with traditional JCL batch jobs. It describes how JCL DD statements map to GRS ENQs and why an exclusive ENQ held by a JCL job can block a Liberty Batch job from opening a dataset.

The paper reviews dataset allocation rules, seize and hold behavior, and the DSENQSHR JOB card keyword, then compares DD statements with dynamic allocation. It concludes with jobs and job groups and scenarios and solutions for sharing datasets between JCL and Liberty Batch, including error handling.

What's inside

  • Introduction
  • Problems? What Problems?
  • The Rules
  • DISP to ENQ
  • Seize and Hold
  • Learning to Let Go: DSENQSHR
  • DD vs. Dynamic Allocation
  • Jobs and JobGroups
  • Scenarios and Solutions
  • Conclusion

Frequently asked questions

Why can't a Liberty Batch job open a dataset created by a JCL job?

The JCL job that created the dataset holds an exclusive ENQ on the dataset name, so the Liberty Batch job cannot open it while another address space has it locked.

How does a JCL DISP value map to an ENQ?

DISP=SHR maps to a shared ENQ, while NEW, OLD, and MOD map to an exclusive ENQ.

Can dynamic allocation avoid JES deadlock prevention?

No. If datasets are dynamically allocated instead of using DD statements, JES cannot help avoid deadlocks.

Download PDF (422 KB)

More IBM Manuals


View all IBM manuals →