Data Entry Screen
A Data Entry Screen, often referred to as a "form" in modern computing, is a character-based interactive display presented on a 3270 terminal or emulator, designed to facilitate user input, display information, and enable interaction with mainframe applications. It provides a structured interface for users to enter, view, or modify data in a field-oriented manner.
Key Characteristics
-
- Character-based Interface: Unlike modern graphical user interfaces, these screens are composed of characters, attributes (color, intensity, highlighting), and predefined fields, typically displayed on a 3270 terminal or emulator.
- Field-Oriented Input: Data is entered into specific, predefined fields on the screen, each with attributes controlling its type (alphanumeric, numeric), length, protection status (input-capable or display-only), and visual presentation.
- 3270 Data Stream Protocol: Communication between the terminal and the mainframe application relies on the 3270 data stream, which optimizes data transmission by sending only changed fields or entire screen buffers in block mode.
- Programmatic Control: Mainframe application programs (e.g., written in COBOL, PL/I, Assembler) running under transaction monitors like CICS or within ISPF, are responsible for displaying the screen, processing user input, and navigating between screens.
- Mapping Facilities: Tools like CICS Basic Mapping Support (BMS) or ISPF Panel Definition Language are used to define the layout, fields, and attributes of these screens, separating the screen design from the application logic.
Use Cases
-
- Online Transaction Processing (OLTP): Core to CICS applications for real-time operations such as customer service inquiries, order entry, banking transactions, and inventory management.
- System Administration and Development: ISPF panels are extensively used by system programmers and developers for dataset management, job submission, program editing, system monitoring, and invoking utilities.
- Database Interaction: Providing user-friendly front-ends for applications that interact with mainframe databases like DB2, IMS, or VSAM, allowing users to query, update, or insert records.
- Legacy Application Modernization: Serving as the primary user interface for many long-standing mainframe applications, often accessed via terminal emulators from modern desktops.
Related Concepts
Data Entry Screens are intrinsically linked to the 3270 Terminal architecture, which dictates their character-based nature and block-mode communication. They are often managed by CICS (Customer Information Control System) applications, where BMS (Basic Mapping Support) is used to define the screen layouts (maps) and handle their presentation and input processing. Similarly, ISPF (Interactive System Productivity Facility) provides a framework for creating and managing panels, which are essentially data entry screens for system utilities and user applications. COBOL and PL/I programs are the backend logic that interacts with these screens, processing user input and formatting output.
- Clear and Consistent Design: Use clear field labels, consistent screen layouts, and intuitive navigation (e.g., consistent use of PF keys) to enhance user experience and reduce training time.
- Robust Input Validation: Implement comprehensive data validation at both the screen level (e.g., using BMS field attributes for basic checks) and the application program level to ensure data integrity and prevent errors.
- Effective Error Handling: Provide clear, concise, and actionable error messages that guide the user on how to correct input, rather than cryptic system codes.
- Optimize Performance: Design screens to minimize data transmission by sending only modified fields (using Modified Data Tags - MDT) and avoiding unnecessary screen refreshes, especially in high-volume OLTP environments.
- Security Considerations: Ensure that sensitive data fields are protected (e.g., using
ATTR=PROTin BMS) and that access to specific screens or functions is controlled through security systems like RACF or ACF2.