The Abstract Factory
Materialize families of related job control wards without specifying their concrete incantations.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Conjuration // Job Control Wards
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
//ABSFACT JOB (ACCT),'ABSTRACT FACTORY',CLASS=A,MSGCLASS=X
//* WARD PARMETERS DEFINE THE FAMILY
// SET ENV='PROD'
// SET DB='DB2'
//*
// JCLLIB ORDER=(TEKROM.WARDS.PROCLIB)
//*
//STEP01 EXEC PROC=FACTORY,ENV=&ENV,DB=&DB
//SYSIN DD DSN=TEKROM.INCANT.INPUT(DATA1),DISP=SHR
The Abstract Factory
In the deep mainframe sanctums, the Abstract Factory ward allows a techno-mage to summon a cohesive suite of environmental parameters and datasets. By passing high-level sigils like ENV or DB, the underlying procedure (PROC) binds the appropriate concrete resources, keeping the outer ritual pure and unburdened by mundane specifics.
Runic Tags:
#abstract-factory
#jcl
#proc
#wards