Master Mainframe Technologies - COBOL, JCL, DB2, VSAM, CICS & More
ABEND Codes SQLCODEs File Status Interview Prep Contact
🖮 CICS

CICS Commands Overview

Beginner 🕑 18 min read 👁 1 views

18

Code Example


## CICS Commands Overview

CICS API commands for application development.

### Command Format
\`\`\`cobol
EXEC CICS command option(value) ... END-EXEC
\`\`\`

### Terminal I/O
- SEND - Write to terminal
- RECEIVE - Read from terminal
- SEND MAP - Send BMS map
- RECEIVE MAP - Get map data

### Program Control
- LINK - Call program, return
- XCTL - Transfer, no return
- RETURN - End transaction
- ABEND - Abnormal end

### File Control
- READ - Read record
- WRITE - Add record
- REWRITE - Update record
- DELETE - Remove record
- STARTBR - Start browse
- READNEXT - Browse next
- ENDBR - End browse

### Response Handling
\`\`\`cobol
RESP(response-field)
RESP2(detail-field)
\`\`\`