Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/694305e8-d7f8-800e-a8d8-fbf410be6545
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 実務で詰まるポイントを、本当に起きる順で挙げる。 ==== ===== 古いCOBOL: ===== * 固定長 * PIC X(n) 上限あり 新しい要件: * JSON * 可変長 * 数千〜数万文字 👉 COBOL85だけでは地獄 → STRING / UNSTRING 拡張 → OCCURS DEPENDING ON → LOB対応 ===== 古い前提: ===== * 1文字=1バイト(SJIS/EBCDIC) 新仕様: * UTF-8 * サロゲート 👉 文字単位処理が破綻 → NATIONAL → UTF-8対応ランタイム → 新しい FUNCTION 群 ===== 昔: ===== * 数値演算 * 自前ロジック 今: * タイムゾーン * うるう秒 * ISO-8601 👉 人間が書くと事故 → FUNCTION CURRENT-DATE → DATE系関数 ===== 昔: ===== * ファイル * MQ 今: * REST * TLS * OAuth 👉 古い文法以前の問題 → ベンダ拡張 → ライブラリCALL ===== 昔: ===== * 戻り値チェック * STATUSコード 今: * 例外 * リトライ * タイムアウト 👉 古典COBOLでは表現力不足
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)