Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
RedOperaBagatelles
CobolLearning
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
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.