Mainframe Path Start learning free
Core7 min readLesson 1 of 4

Dataset names and what they tell you

A dataset name is not free text. It is a series of qualifiers separated by dots, each up to eight characters, up to 44 characters in total. At almost every site the qualifiers encode environment, application and content — so the name alone tells you a great deal.

PROD.PAY.MASTER.G0042V00 — reading a name
PRODHigh-level qualifier: environment or owner
PAYApplication
MASTERWhat it holds
G0042V00Generation, if this is a GDG

The rules

What a typical site encodes

PositionCommonly meansExample
1stEnvironment or ownerPROD, TEST, DEV, or a userid
2ndApplication or systemPAY, GL, CARD, CLM
3rdContent or file typeMASTER, TRANS, JCLLIB, SOURCE, LOADLIB
4th+Date, cycle, or generationD20260930, G0042V00

The names you will keep seeing

SuffixHolds
SOURCE / SRCProgram source code
COPYLIB / COPYBOOKShared record layouts included into programs
LOADLIB / LOADExecutable load modules
JCLLIB / CNTLJCL members
PROCLIBCatalogued procedures
MASTERA permanent master file
TRANSTransaction input for a batch run
REPORT / RPTFormatted output

A dataset name, piece by piece

Dataset nameWhat it means
PROD
High-level qualifier: often the environment or owner. Catalog aliases and RACF rules usually key on it.
.PAY
The application: payroll.
.MASTER
What the data is: the master file.
.G0012V00
A GDG generation: generation 12, version 0.

Try it yourself

TRY IT YOURSELF

What is the maximum length of a single qualifier in a dataset name?

Show a hint

The whole name can be 44 characters including dots.

Show the solution

8 characters, starting with a letter or national character (@ # $).

Common mistakes

Inventing a name outside the standard

Storage management rules often key on the HLQ. A non-standard name may be rejected, or land on the wrong storage with the wrong backup policy.

Exceeding 44 characters

Easy to do with date qualifiers. The allocation fails with a message that names the length limit.

Assuming a name that looks like production is production

Check the HLQ against the site standard rather than assuming. PRODTEST is not PROD.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
Sequential, partitioned, and the rest →