Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
いきなりCOBOLを読むことになった話
Search
shumpei
September 18, 2025
Technology
61
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
いきなりCOBOLを読むことになった話
shumpei
September 18, 2025
More Decks by shumpei
See All by shumpei
202607_ローカルAI構築勉強会
shumpei_890
0
5
20260530_調整・合意形成スキル向
shumpei_890
0
25
みんな大好き、お金の話
shumpei_890
0
20
勤怠表の作成〜提出を自動化させてみた
shumpei_890
0
62
総合・回帰試験工程での業務効率化
shumpei_890
0
19
Other Decks in Technology
See All in Technology
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
180
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
740
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
120
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
160
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
2
570
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.4k
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
210
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
180
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
660
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Statistics for Hackers
jakevdp
799
230k
Navigating Team Friction
lara
192
16k
From π to Pie charts
rasagy
1
400
Designing for Timeless Needs
cassininazir
1
530
Making the Leap to Tech Lead
cromwellryan
135
10k
Visualization
eitanlees
153
17k
Test your architecture with Archunit
thirion
2
2.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Skip the Path - Find Your Career Trail
mkilby
1
260
Transcript
いきなりCOBOLを 読むことになった話 クリエイト2課 大塚 亜未 1
自己紹介 •氏名:大塚亜未 •所属:クリエイト2課 •中高教職員からIT業界へ転職、自己学習でJavaSilver、Goldを取得 •現在は自動車業界のシステムのアジャイル開発現場(Java、AngularJS) •好きな言語:Java 2
今回のLTで話すこと 現場で全然知らない言語を扱うことになったら 3 どうする?!
いきなりCOBOLの解析を?! •カード審査のCOBOLの現行システムをJavaへ •約3000種類のエラーチェックの詳細設計から参画 •Spring Bootでの開発 •データベースはOracleからSQLServerへ •周辺システムとの連携は現行通りに 4 方針:とにかく現行通りに作って!でも30年前のシステ ムで仕様書はないから適宜解析してね!!
そもそもCOBOLって? •共通事務処理用言語(COmmon Business Oriented Language) •1959年に事務処理用に開発された高級コンパイル型プログラミング言語 •アメリカ国防総省が提案した言語:英語に似た構文で予約語が多い •文字列編集などの事務処理が得意:金融、政府、医療、自動車業界など 5 MOVE,
DISPLAY, COPY, COMPUTE, CALL, IF, END-IF, OCCURS …
なんとか気合いで COBOLを読もう…読めた! •Javaに置き換えて理解 MOVE “ABC” TO STR. ⇒ ある部分から別の部分にデータを転記(=代入) データ項目
⇒ 変数 表 ⇒ 配列 •現行ソースから該当のエラーチェックを検索 気合いのgrep検索:現行のエラーコードで該当箇所を発見 6
特有の言語仕様に注意 •COBOLの転記 数値型では右詰め、文字列では左詰め ⇒出力:␣␣12345 •COBOLの除算:10進数 ⇒Javaの浮動小数点型は2進数 金融系などのお金の計算には要注意 7
マイグレーションの設計の理想 •As-Is ⇒ To-beの整理に時間を掛けたい(可能な限り・・・) ・現行ソースをただそのまま他言語へのマイグレーションするのは難しい ・周辺システム連携との兼ね合いと言語仕様の違いのすり合わせ ・AIを利用したマイグレーションでも整理が必要 8
参考文献 •IBM/COBOLとは[https://www.ibm.com/jp-ja/topics/cobol] 9 ご清聴ありがとうございました