Search operators, filters, and syntax for precise queries across all asset types.
Type any keyword to search across all indexed assets. Codegraphs searches program names, function names, variable names, comments, SQL statements, JCL parameters, and document content — all simultaneously.
Results are returned grouped by asset type: Programs, Copybooks, JCL Jobs, SQL, Documents, and more. Each result shows the matching file, its path, and highlighted context lines.
Operators refine your search. Combine them for precise results.
| Operator | Description | Example |
|---|---|---|
| ext: | Filter by file extension (logical) | ext:cbl CUSTOMER |
| physical_extension: | Filter by actual on-disk extension | physical_extension:pdf |
| dir: | Limit search to a directory | dir:batch/ |
| file: | Match filenames containing this substring | file:ACCT |
| toext: | Files referenced by files of this extension | toext:cpy |
| coext: | Files that co-occur with this extension | coext:jcl |
| memo: | Search in file memo/label fields | memo:"critical" |
| label: | Search in file labels | label:production |
| code: | Search code lines only (excludes comments) | code:"MOVE CUSTOMER-ID" |
| comment: | Search comment lines only | comment:"TODO" |
Filters are space-separated. Multiple filters are combined with AND logic.
ext:cbl dir:online/ CUSTOMER # COBOL files in online/ mentioning CUSTOMER
ext:jcl file:DAILY # JCL files with "daily" in the filename
ext:cbl toext:cpy # COBOL files that reference copybooks
Wrap exact phrases in double quotes to match them literally, including the space between words.
"CALL" "PGM001" # Files containing both exact phrases
"CUSTOMER-MAINTENANCE" # Exact phrase match
Note: file: and dir: match on substrings, not glob patterns — * is not currently supported as a wildcard.
| Goal | Query |
|---|---|
| Find a program by name | PGM001 |
| Find all callers of a program | "CALL" "PGM001" |
| Find all JCL that executes a program | ext:jcl "PGM=PGM001" |
| Find all references to a dataset | "DSN=CUSTOMER.MASTER" |
| Find all COBOL programs in a directory | ext:cbl dir:batch/ |
| Find SQL that touches a table | ext:sqb ACCOUNT_MASTER |
| Find copybook usage | "COPY" "CUSTOMER-RECORD" |
| Find files with specific variable | WS-CUSTOMER-ID |
Tip: Search results are scoped to your current schema. Use the schema selector in the top bar to switch projects. Cross-schema search is on our roadmap.