Appearance
What to bring to Nomain
Use this page to prepare a delivery. Code on its own is enough to build a working System. Scheduler exports, documents and time with your experts add what the code cannot say about itself.
Before you build the extract
Give every file the extension for its type. The tables below list the extension for each type. A file without it is not read as a program, job or definition, and nothing on screen warns you: the System is simply smaller than your estate. Mainframe extracts often lose their extensions, so agree the naming with whoever produces the extract before they start.
Send complete libraries, not only the programs. Include every copybook, cataloged procedure and database definition your code uses. Anything missing can be shown by name, but not explained.
Send a sample first
A few hundred files from each library, named the way the full delivery will be named, is enough for us to tell you what is recognized and what is not. That check is far cheaper before the full extract is built than after.
1. Code
| Send | Extension |
|---|---|
| COBOL programs | .cbl |
| Copybooks and declaration members | .cpy |
| DCLGEN members | .dcl |
| PL/I source and includes | .pli, .pl1, .inc (include members may also be .cpy) |
| Easytrieve programs and macro libraries | .ezt |
| Assembler (HLASM) source and macros | .asm, .mac (macros and copy members may also be .cpy) |
| SAS programs and autocall macro members | .sas |
| JCL jobs and cataloged procedures | .jcl, .prc |
| CICS system definitions | .csd |
| BMS map source | .bms (mapsets may also be .cpy) |
| DB2 DDL | .ddl |
| Control members: sort, IDCAMS, DSN and parameter cards | .ctl |
| SQL members | .sql |
| IMS database definitions | .dbd |
| IMS program specifications | .psb |
| IMS stage-1 system definitions | .sysgen, .stage1 |
| C# and .NET projects | .cs, .csproj |
| JavaScript and TypeScript | .ts, .tsx, .js, .jsx, .mjs, .cjs, plus tsconfig.json |
Check these before you build the extract:
- IMS decks must use
.dbd,.psb,.sysgenor.stage1. Either letter case is fine. Under any other extension, or none, they are not read as IMS definitions. A stage-1 deck is the one that names each transaction code and the program that processes it. - Easytrieve programs may arrive as
.cbl. A mixed.cbllibrary is fine. Easytrieve macro libraries must be.ezt: under.cpythey are read as COBOL copybooks. - Assembler members must be
.asm(source) or.mac(macros). Macros and copy members may also arrive as.cpy, and a.cpymember whose content is Assembler is read the same way as a.macmember. Prefer.macwhere you can: a short.cpymember whose content could also be COBOL is read as a COBOL copybook. Either letter case is fine. Each member is read whole, the programs and jobs that call it are connected to it, and so are the programs, macros and copy members it uses. A.macmember is a macro only when it begins withMACRO; any other, such as a DSECT layout, is a copy member. Under any other extension, or none, it is not read. - SAS members must be
.sas. Either letter case is fine. Each member is read as one program named after the file, with the files, DB2 tables and included members it uses connected. Job steps that run SAS (EXEC SAS) are connected to the member theirSYSINnames. Deliver the JCL in the same source as the members, so the steps' DD statements reach the files each member reads and writes. A member without an extension is not read, and SAS data sets and catalogs (.sas7bdat,.sas7bcat) are not source. Keep member names unique across languages: a SAS member with the same name as a COBOL program is not told apart from it, and the System shows them as one program that can mix parts of both. A program that calls a load module named like a SAS member is shown calling the SAS program. - Control and SQL members must be
.ctlor.sql. Either letter case is fine. The file name must be a valid member name: up to eight letters, digits and@,#or$, not starting with a digit. Each member is kept whole and searchable, named after the file. Send it in the same source as the jobs that read it, so those job steps are connected to it. Under any other extension, such as.cntl,.sysinor.parm, or none, it is not read. - Shared VSAM files can carry a record-type file. When one VSAM file holds several logical tables told apart by a key field, add a file named
*.recordtypes.jsonto any repository of the System. Each table then becomes part of the System, and COBOL programs are linked to the tables they use. See Shared VSAM files. - Send REXX and CLIST too. Nomain connects them to the jobs that run them, but does not analyze the code inside them.
For everything Nomain reads, see Supported languages & sources.
2. Scheduler exports
| Scheduler | Send |
|---|---|
| Control-M | An XML export or JSON Automation API export, named .xml, .json or .controlm |
| CA-7 | An LJOB ... LIST=ALL report listing, as .ca7 |
| OPC / IBM Z Workload Scheduler | The application database as batch-loader control statements (from the BCIT unload sample EQQYCBAG, or WAPL), named .tws or .opc and transferred in text mode; and a JCL library inventory export in JSON (.json), naming the library dataset and the members it holds |
Each job in a CA-7 listing or Control-M export is connected to the JCL job it runs when that JCL is in the System, so send the job JCL with the export.
The OPC / IBM Z Workload Scheduler application export is read inside each application, and its operations are connected to the jobs they run when the job JCL is in the System. Send the JCL with it, and the exports of the applications its predecessors name, so the connections complete. The JCL library inventory lists library members only, not their source or the schedule. Send the job source with it, not instead of it.
3. Documents
Formats: .txt, .md, .pdf, .docx, .xlsx, .xlsm, .xls, .csv, .xml. There is no OCR, so a scanned PDF contributes no text. .xlsb and .ods are not accepted; save those as .xlsx first. An .xml file that is a Control-M export is read as the scheduler export above, not as a document, and Nomain tells the two apart by their contents.
Two ways to deliver them:
- With the code. Put them in the repository or SFTP location. They are read by the same analysis as the code. This is the route for a large document set.
- Per System. An administrator uploads them on the System's Document management tab: one file at a time, up to 25 MB each, with names unique within the System. Nomain reads each one shortly after upload.
Worth sending, roughly in order of value:
- Business process descriptions (see the next section, which has a naming rule)
- Program and job inventories that state each one's business purpose
- Data dictionaries and field glossaries
- Transaction and job catalogs: what runs, when, and why
- Interface specifications and file layouts, especially for systems Nomain will not receive
- Runbooks and operational procedures
- A glossary of acronyms, mnemonics and transaction codes as your organization uses them
- Migration and decommissioning plans
Several of those are spreadsheets in practice, and that is fine. Inventories, interface catalogues, ownership matrices and code lists can be sent in the form your team already keeps them in. A workbook arrives as its sheets and a CSV as its rows, so an answer can cite the entry you asked about rather than a paraphrase of the sheet.
Split long documents by topic, one subject per document. This applies to prose: spreadsheets and CSV are not summarized, so send the whole workbook.
4. Business process descriptions
These are the most valuable documents you can send, and the only ones with a naming rule.
Write each one in Markdown, with business_process, businessprocess or business-process in the file name. Each becomes a step-by-step business process diagram.
claims-intake-business-process.md
business_process_policy_renewal.mdA file in any other supported format, named the same way, is read like any other document, but it does not become a diagram.
Aim for ten to twenty, one per process that matters to the business. They do not need to be polished. A plain description of who does what, in what order, and where the decisions are, is enough.
5. People
Some knowledge is in nobody's files: what a transaction code means, which of two similar jobs is the one that matters, which constraint everyone works around.
- Book time with your experts early. Plan a handful of sessions in the first weeks with the people who know the estate.
- Ask someone who knows the System well to run
/system-onboarding. In a chat on the System, the skill asks about its purpose, core programs, processing cycles, neighbouring systems, teams, key data and sources of truth, and keeps the answers as shared System memory. - Name an administrator to curate what the System remembers. Shared notes reach everyone who asks about the System. An administrator reviews, corrects and removes them on the System memory tab.
6. Access and scope
- Connection details. A Git URL with credentials, or an SFTP host, path and credentials. Git credentials must also grant read access to any submodules. Credentials are stored securely, never inside the System. If several repositories share a host, an administrator can save the credential once and reuse it on each. See Repositories & sources.
- System boundaries. One System per real system is the useful unit. A System can span several repositories, so code split across them is still understood as one connected whole.
- Path filters. Vendored dependencies, build output and generated code inflate the numbers and add nothing. A path filter keeps them out of one System, and an analysis scope keeps them out of Nomain altogether.
- A decision on secret scanning, per repository. It is off by default. When it is on, committed credentials are masked before analysis reads the code. Your own repository is untouched. Decide before the first analysis, not after.
- A decision on unused code detection, per repository. It is off by default. An administrator turns it on in the repository's Settings. It works best when every repository that could call this one is analysed in Nomain.
- A re-analysis choice. Each repository is analyzed daily, weekly, whenever its code changes (Git only) or on demand. Pick the one that matches how often its code changes.
The checklist
Work through it yourself, or hand it to the team producing the extract.
Code
- Programs: COBOL (
.cbl), PL/I (.pli,.pl1), Easytrieve (.ezt), Assembler source (.asm), SAS (.sas) - Include libraries: copybooks (
.cpy), DCLGEN (.dcl), PL/I includes (.inc, or.cpy), Easytrieve macros (.ezt), Assembler macros and copy members (.mac, or.cpy) - JCL (
.jcl) and cataloged procedures (.prc), complete rather than sampled - CICS: CSD export (
.csd) and BMS map source (.bms, or.cpy) - DB2 DDL (
.ddl) - Control members (
.ctl) and SQL members (.sql) that job steps read - IMS: DBD (
.dbd) and PSB (.psb) decks, and stage-1 system definitions (.sysgenor.stage1), under those extensions - Modern code, if it is in scope:
.cswith.csproj, or the TypeScript and JavaScript tree withtsconfig.json - Every file carries the extension for its type, confirmed on a sample
Operations
- Scheduler export: Control-M (
.xml,.jsonor.controlm), CA-7 (anLJOBlisting as.ca7), or OPC / IBM Z Workload Scheduler (an application export as.twsor.opc, transferred in text mode, and a library inventory as.json) - Runbooks and operational procedures
Documents
- Business process descriptions, in Markdown, named with
business_process - Program and job inventories with their business purpose
- Data dictionaries, field glossaries, acronym and transaction-code glossaries
- Interface specifications and file layouts
- Migration or decommissioning plans, where they exist
- Long documents split by topic
People
- Named experts per business area, with time booked in the first weeks
- Someone who knows the System well, to run
/system-onboardingin a chat on it - An administrator who will curate what the System remembers
Access
- Repository or SFTP connection details and credentials, with submodule read access
- The intended System boundaries, and the repositories behind each one
- Path filters for vendored, generated and build output
- A decision on secret scanning
- A decision on unused code detection
- A re-analysis choice per repository: daily, weekly, on code changes or on demand
Related
- Supported languages & sources: everything Nomain reads, in full detail.
- Repositories & sources: connecting code, path filters and secret scanning.
- Document management: uploading documents to a System.
- Domains, areas & processes: what business process documents become.
- System memory: curating what a System remembers.