Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
RedOperaBagatelles
/
CobolLearning
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
main
Breadcrumbs
CobolLearning
/
CICS.cbl
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
34 lines (27 loc) · 1.92 KB
main
Breadcrumbs
CobolLearning
/
CICS.cbl
Copy path
Top
File metadata and controls
Code
Blame
34 lines (27 loc) · 1.92 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
IDENTIFICATION DIVISION.
PROGRAM-ID. CICS.
DATA DIVISION.
FILE SECTION.
WORKING-STORAGE SECTION.
PROCEDURE DIVISION.
MAIN-PROCEDURE.
*> CICS (Customer Information Control System) : IBM의 온라인 트랜잭션 처리 모니터
*> - COBOL 프로그램을 실행키거나, 여러 사용자의 요청을 관리, 데이터 베이스 접근, 터미널과 통신과 같은 중간 관리자 역할
*> 온라인 트랜잭션 : 사용자가 입력한 요청을 즉시 처리하는 방식
*> - 예) 은행 계좌 조회, ATM 출금, 카드 승인, 항공권 예약
*> Batch vs 온라인 처리
*> - Batch : 데이터 모음 → 밤에 일괄 처리 → 결과 생성
*> - 온라인 처리 : 한 건 입력 → 즉시 처리 → 즉시 결과
*> 트랜잭션 (Transaction)
*> - 하나의 업무 단위
*> - 여러 거래를 한번에 실행 중 하나가 장애를 일으키면 둘 다 취소가 되고 모두 성공해야 성공으로 해야 함
*> 터미널 처리 : 사용자가 접속하는 화면 장치
*> - 과거에는 3270 단말기이며 현재는 에뮬레이터로 사용
*> - 사용자 정보 입력 → CICS → COBOL 프로그램 → 조회 → 결과 표시
*> COBOL에서의 터미널 처리
*> - COBOL에서는 DISPLAY "이름?" ACCEPT WS-NAME처럼 콘솔 입출력을 이용
*> - CICS에서는 EXEC CICS RECEIVE MAP("CUSMAP") END-EXEC.처럼 CICS 명령을 이용
*> MAP : CICS는 MAP이라는 정의 파일을 사용
*> - COBOL에서는 이 MAP과 데이터를 주고 받음
*> - CICS 프로그램의 기본 흐름 (사용자 화면 → RECEIVE MAP → 입력 데이터 획득 → VSAM / DB2 조회 → 결과 저장 → SEND MAP → 화면 출력
END PROGRAM CICS.
You can’t perform that action at this time.