Go to:  Davar site entry | Site contents | Site index | Mainframe | References | Text bottom

Mainframe  MVS  Code  Patterns

This is a collection of code patterns for some of the common Mainframe MVS programming tasks which tend to repeat from time to time.  When not singled out and classified these patterns get easily lost in the bulk of an application-specific code, and constant rewriting (and debugging) them from scratch is a senseless waste of time.

Normally there are several ways to code the same logic,v and some ways are better than the other in terms or size, effectiveness, readability and ease of modification.  These criteria are rather fuzzy (except for the "size"), and are affected by personal preferences.  Yet, there seems to exist a certain common sense consensus of what is "good" like mnemonic names and labels, use of indentation, commenting, etc.

My brother Victor and I have been collecting such "good" code patterns for several decades and it seems it's about time to select the most usable of them from all of our scattered notes and programs into one document which will be hyperlinked for the ease of use, and will be accessible from anywhere and by anybody who might have interest in it.  However, this selection is not compiled for the Web only rather it's our working reference, which we try to maintain as accurate and current as possible  As such it inevitably will always lack an overall integrity and completeness, yet it is still a rather useful tool that often saves time.

Most of the tasks originated from a real-life experience of a professional mainframe programmer.  Most of the solutions were coded and debugged in the process of practical programming of various applications.  Every pattern was checked to the best of our competence, and as a rule was tested by many years of repeated usage.  This is not to suggest that it is in any way guaranteed to be error-free you will be using any code you pick from this selection entirely at your own risk, and will be completely responsible yourself for any problems that might arise from this usage.  So when trying a code, please exercise the common sense precautions, and test it most thoroughly yourself before applying it to anything serious.

This legal mantra been chanted, I want to mention that all error reports and any comments about this code pattern selection are most welcome, and I'll try to do my best to fix any known problem as quick as I'll be able to do this.

Languages            Go to:  Text top | Tasks | Patterns | Index | Text bottom

Tasks            Go to:  Text top | Languages | Patterns | Index | Text bottom

Patterns            Go to:  Text top | Languages | Tasks | Index | Text bottom

Index            Go to:  Text top | Languages | Tasks | Patterns | Text bottom
Go to Languages       Go to Tasks       Go to Patterns       Go to Index

Copyright © 1998 2001 by and Victor Veytsel

 Go to:  Davar site entry | Site contents | Site index | Mainframe | References | Text top