Documentation

Search Reference

Search operators, filters, and syntax for precise queries across all asset types.

Basic Search

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.

Search Operators

Operators refine your search. Combine them for precise results.

OperatorDescriptionExample
ext:Filter by file extension (logical)ext:cbl CUSTOMER
physical_extension:Filter by actual on-disk extensionphysical_extension:pdf
dir:Limit search to a directorydir:batch/
file:Match filenames containing this substringfile:ACCT
toext:Files referenced by files of this extensiontoext:cpy
coext:Files that co-occur with this extensioncoext:jcl
memo:Search in file memo/label fieldsmemo:"critical"
label:Search in file labelslabel:production
code:Search code lines only (excludes comments)code:"MOVE CUSTOMER-ID"
comment:Search comment lines onlycomment:"TODO"

Filter Tokens

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

Phrases

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.

Common Search Patterns

GoalQuery
Find a program by namePGM001
Find all callers of a program"CALL" "PGM001"
Find all JCL that executes a programext:jcl "PGM=PGM001"
Find all references to a dataset"DSN=CUSTOMER.MASTER"
Find all COBOL programs in a directoryext:cbl dir:batch/
Find SQL that touches a tableext:sqb ACCOUNT_MASTER
Find copybook usage"COPY" "CUSTOMER-RECORD"
Find files with specific variableWS-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.