FOCUS - 1.0
Description
If your Mainframe application contains FOCUS source code and you want to view these object types and their links with other objects, then you should install this extension.
Download and installation instructions
The extension will be automatically downloaded and installed when any of the file types listed below are delivered in the source code. It can be managed through the Application → Extensions interface.
Supported file types
| Code type |
Supported file extension |
Required? |
Comments |
| FOCUS Procedures |
*.fex |
✅ |
1 procedure per file. Contains the FOCUS procedure code (BEGIN_PROCEDURE/END_PROCEDURE blocks, TABLE FILE, MODIFY FILE, DEFINE FILE, JOIN FILE, GRAPH FILE, etc.). |
| FOCUS Procedures |
*.foc |
✅ |
1 procedure per file. Alternative file extension for FOCUS procedure source code. |
| FOCUS Master File Description |
*.mas |
❌ |
Describes the structure of a FOCUS file (Master File Description - MFD), referenced from FOCUS procedures/data sources. |
Transactions
Transaction support is derived from metamodel concepts used to build CAST Imaging Blueprint and structural transaction flows. Entry Points start transactions; Exit Points include both output/boundary concepts and Data Entities manipulated by transactions.
| Role |
Support |
Breakdown |
|
|
N/A
|
No data available |
|
|
N/A
|
No data available |
ISO 5055 Structural Rules
Quality support is based on ISO 5055 structural rules available for the selected extension version.
| Reliability |
Maintainability |
Security |
Performance Efficiency |
|
N/A
|
N/A
|
N/A
|
N/A
|
What results can you expect?
Objects
| Type |
Object Name |
Comment |
| CAST_Focus_Procedure |
FOCUS Procedure |
Standard FOCUS reporting procedure declaration. Created from a BEGIN_PROCEDURE/END_PROCEDURE block. |
| CAST_Focus_DataSource |
FOCUS Data Source |
Declaration of a FOCUS data source. Created from a BEGIN_DATASOURCE/END_DATASOURCE block. |
| CAST_Focus_Define |
FOCUS Define |
Computed/virtual field declaration attached to a FOCUS Procedure. Created from a DEFINE FILE statement. |
| CAST_Focus_Graph |
FOCUS Graph |
Graph/chart report declaration attached to a FOCUS Procedure. Created from a GRAPH FILE statement. |
| CAST_Focus_Join |
FOCUS Join |
Join between FOCUS files/data sources, attached to a FOCUS Procedure. Created from a JOIN FILE statement. |
| CAST_Focus_Master |
FOCUS Master |
Master File Description (MFD), describing the structure of a FOCUS file. Attached to a FOCUS Data Source. Created from a FILENAME=/FILE= statement. |
Links
Non-exhaustive list of links between FOCUS objects
| Link type |
Caller type |
Callee type |
Comment |
accessReadLink |
FOCUS Procedure / FOCUS Data Source |
FOCUS Master |
Created from a FILE or FILTER FILE statement referencing a Master file |
accessLink |
FOCUS Procedure / FOCUS Data Source |
FOCUS Master |
Created from a TABLE FILE or TABLEF FILE statement referencing a Master file |
accessReadLink |
FOCUS Procedure / FOCUS Data Source |
FOCUS Master |
Created from a MATCH FILE statement referencing a Master file |
accessReadLink |
FOCUS Procedure / FOCUS Data Source |
FOCUS Master |
Created from a MODIFY FILE statement referencing a Master file |
List of links between Mainframe objects and FOCUS objects
| Link type |
Caller type |
Callee type |
Comment |
prototypeLink |
JCL Resolved Dataset |
FOCUS Master |
Added when a JCL Step calls a FOCUS Procedure (via a CTL Program) that accesses this Master, and the step’s DD dataset name matches the Master’s key name; links the physical dataset directly to the FOCUS Master file it backs |
Quality Rules
None on FOCUS language.