{"id":35029,"date":"2023-11-30T01:04:52","date_gmt":"2022-11-03T00:20:27","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/"},"modified":"2024-05-04T11:22:49","modified_gmt":"2024-05-04T03:22:49","slug":"%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/","title":{"rendered":"\u5728docker\u4e2d\u8fd0\u884cCOBOL"},"content":{"rendered":"<p>\u5c1d\u8bd5\u572840\u5e74\u540e\u91cd\u65b0\u8fd0\u884cCOBOL\uff1a\u4f7f\u7528Docker\u6267\u884cCOBOL\u3002\u901a\u8fc7Docker\uff0881\uff09\u7a0d\u4f5c\u8c03\u6574\uff084\uff09\u7684\u7a0b\u5e8f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8fd9\u662f\u4fee\u8ba2\u7248\u3002<\/p>\n<p>\u7531\u4e8e\u6211\u6700\u8fd1\u4e00\u6b21\u7684\u804c\u4e1a\u8f6c\u6362\u4e2d\u6709COBOL\u7f16\u7a0b\u7684\u7ecf\u9a8c\uff0c\u6240\u4ee5\u88ab\u63d0\u53ca\u4e86\u3002<\/p>\n<p>\u4e0d\u662f\u5fc5\u987b\u8981\u7528COBOL\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u5f88\u5c11\u63d0\u53ca\u673a\u68b0\u4e13\u7528\u7684JCL\uff08\u4f5c\u4e1a\u63a7\u5236\u8bed\u8a00\uff09\u7c7b\u4f3c\u4e8eShell\u811a\u672c\u7684\u8bed\u8a00\uff0c\u5982\u679c\u4e0d\u4e86\u89e3\u8fd9\u4e24\u8005\uff0c\u79fb\u690d\u5c06\u53d8\u5f97\u975e\u5e38\u56f0\u96be\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u8be5\u673a\u5668\u4e13\u7528\u7684\u6570\u636e\u5e93\u7ed3\u6784\u3001\u5b9a\u4e49\u65b9\u6cd5\u548c\u5904\u7406\u65b9\u5f0f\u4e0e\u5176\u4ed6\u4e0d\u540c\uff0c\u53ea\u6709\u540c\u65f6\u7406\u89e3\u4e24\u8005\u624d\u80fd\u8fdb\u884c\u79fb\u690d\u3002(Chinese)<\/p>\n<p>\u5728\u6ca1\u6709\u4e24\u79cd\u673a\u5668\u5b58\u5728\u7684\u5730\u65b9\u8fdb\u884c\u79fb\u690d\u662f\u4e00\u9879\u6781\u5176\u56f0\u96be\u7684\u6280\u672f\u3002<\/p>\n<p>\u6211\u66fe\u7ecf\u5199\u8fc7\u4e00\u4e2a\u5c06\u4e3b\u673a\u4e0a\u7684\u6570\u636e\u5e93\u79fb\u690d\u7684\u7a0b\u5e8f\u3002<\/p>\n<p>\u4e0e\u6b64\u76f8\u6bd4\uff0cCOBOL\u81ea\u8eab\u662f\u4e00\u79cd\u65e9\u65e9\u6210\u4e3a\u56fd\u9645\u6807\u51c6\u7684\u8bed\u8a00\u3002<\/p>\n<p>\u9664\u4e86JCL\u542f\u52a8\u8fc7\u7a0b\u548c\u7279\u5b9a\u673a\u578b\u4e13\u7528\u7684\u6570\u636e\u5e93\u5916\uff0c\u4e0eC\u8bed\u8a00\u76f8\u6bd4\uff0c\u53ef\u79fb\u690d\u6027\u66f4\u9ad8\u3002<\/p>\n<p>\u6709\u4e00\u4e9b\u4eba\u6b63\u5728\u8a0e\u8ad6COBOL\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6709\u8fd9\u4e48\u591a\u95f2\u6687\u7684\u8bdd\uff0c\u4e0d\u5982\u53bb\u8fd0\u884cCOBOL\u3002<\/p>\n<p>\u975e\u5e38\u6109\u5feb\u3002<\/p>\n<p>40\u5e74\u524d\u4e0e\u73b0\u5728\u76f8\u6bd4\uff0c\u6709\u5982\u5929\u5802\u4e0e\u5730\u72f1\u3002<\/p>\n<p>\u6211\u5f00\u59cb\u5b66\u4e60JavaScript\u65f6\uff0c\u89c9\u5f97\u5b83\u6709\u70b9\u50cfCOBOL\u3002COBOL\u662f\u4e00\u79cd\u7528\u4e8e\u8bbe\u8ba1\u8f93\u51fa\u548c\u63cf\u8ff0\u8f93\u5165\u4e0e\u903b\u8f91\u5173\u7cfb\u7684\u8bed\u8a00\u3002<br \/>\n\u6211\u8ba4\u4e3a\u53ea\u8981\u4f1a\u5199JavaScript\u4e14\u4e0d\u8ba8\u538c\u82f1\u8bed\u7684\u4eba\uff0c\u670990%\u7684\u6982\u7387\u53ef\u4ee5\u57283\u4e2a\u5c0f\u65f6\u5185\u5b66\u4f1aCOBOL\u3002<\/p>\n<p>\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bJavaScript\u3002\u82f1\u8a9e\u306eYoutube\u3067\u52c9\u5f37\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3002\u521d\u65e5\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>COBOL\u304c\u306a\u3044\u8a08\u7b97\u6a5f\u306e\u524d\u306b\u5ea7\u3063\u3066\u300140\u5e74\u3076\u308a\u306bCOBOL\u52d5\u304b\u3057\u305f\u3002<\/p>\n<p>\u304a\u984c\u306f\u3001<br \/>\nBeginning COBOL for Programmers<br \/>\nhttps:\/\/www.apress.com\/jp\/book\/9781430262534<\/p>\n<p>\u8fd9\u4e2a\u94fe\u63a5\u662fgithub\u4e0a\u7684\u4e00\u4e2a\u5e93\uff0c\u91cc\u9762\u6709\u4e00\u4e2a\u6587\u4ef6\u6e90\u4ee3\u7801\u3002<\/p>\n<p>&lt;\u3053\u306e\u9805\u306f\u66f8\u304d\u304b\u3051\u3067\u3059\u3002\u9806\u6b21\u8ffd\u8a18\u3057\u307e\u3059\u3002&gt;<\/p>\n<h1>\u4eceDocker Hub\u7684\u4f7f\u7528<\/h1>\n<p>\u4e0b\u3067\u5c0e\u5165\u3057\u305fcobol\u306e\u30b7\u30b9\u30c6\u30e0\u3092docker hub\u304b\u3089run\u3059\u308b\u3060\u3051\u3067\u3001\u3082\u3046\u3042\u306a\u305f\u306fCOBOL World<br \/>\n\u306a\u304a\u3001\u4e0b\u8a18\u306fMacos\u306edocker\u3067\u3001\u30e6\u30fc\u30b6\u540d\u304cwatashi\u306e\u5834\u5408\u3002Documents\u306e\u4e0b\u3067cobol\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308b\u5834\u5408\u3002<\/p>\n<pre class=\"post-pre\"><code>$ docker run -v \/Users\/watashi\/Documents\/cobol:\/home\/cobol -it kaizenjapan\/cobol \/bin\/bash\r\n<\/code><\/pre>\n<p>\u8bf7\u6307\u5b9a\u60a8\u80fd\u591f\u8bfb\u5199\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>COBOL\u3092\u52d5\u304b\u3059\u5834\u6240\u307e\u3067\u79fb\u52d5\u3057\u3066<br \/>\npwd<br \/>\n\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30b3\u30d4\u30da\u3059\u308b\u306e\u304c\u9593\u9055\u3044\u306a\u3044\u3002<\/p>\n<h1>\u73fe\u5728\u306e\u77e5\u898b<\/h1>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5de6\u5074\u306b\u884c\u756a\u53f7\u304c\u3042\u3063\u3066\u3082\u306a\u304f\u3066\u3082\u3088\u3044\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u884c\u756a\u53f7\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u306a\u3044\u3068\u7a7a\u767d\u307e\u305f\u306f\u30bf\u30d6\u304c\u5fc5\u8981\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u300ccobc -x \u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u540d\u300d\u3000\u3067\u5b9f\u884c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308b\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u300c.\/\u5b9f\u884c\u30d7\u30ed\u30b0\u30e9\u30e0\u540d\u300d\u3000\u3067\u5b9f\u884c\u3067\u304d\u308b\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4e0a\u8a18\uff12\u3064\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066\u307f\u308b\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5148\u982d\u306b\u30bf\u30d6\u3092\u5165\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092cobol\u3067\u4f5c\u3063\u3066\u307f\u308b\u3002(\u672a\u7740\u624b)<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>-free\u3092\u3064\u3051\u308c\u3070\u5de6\u306e\u884c\u756a\u53f7\u3001\u7a7a\u767d\u3001\u30bf\u30d6\u304c\u8981\u3089\u306a\u3044<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u9055\u3044\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u3042\u308a\u3002<\/ol>\n<h2>\u5982\u679c\u6587\u4ef6\u540d\u5927\u5c0f\u5199\u4e0d\u540c\uff0c\u4f1a\u5bfc\u81f4\u9519\u8bef\u3002<\/h2>\n<pre class=\"post-pre\"><code># ..\/co.sh Listing5-6\r\nlibcob: File does not exist (STATUS = 35) File : 'Listing5-6-TData.Dat'\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code># mv Listing5-6-TData.dat Listing5-6-TData.Dat\r\n# .\/Listing5-6\r\nTeresa Casey              08712351 LM042\r\nPadraig Quinlan           08712352 LM051\r\nKevin Tucker              08712353 LM051\r\nMaria Donovan             08712354 LM042\r\nLiam Lorigan              98712355 LM110\r\nFiachra Luo               98712356 LM051\r\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u66f4\u6539\u7a0b\u5e8f\u4e2d\u7684\u6587\u4ef6\u6307\u5b9a\u3002<\/p>\n<pre class=\"post-pre\"><code>IDENTIFICATION DIVISION.\r\nPROGRAM-ID. Listing5-6. \r\nAUTHOR. Michael Coughlan.\r\nENVIRONMENT DIVISION.\r\nINPUT-OUTPUT SECTION.\r\nFILE-CONTROL.\r\n   SELECT StudentFile ASSIGN TO \"Listing5-6-TData.Dat\" \r\n    ORGANIZATION IS LINE SEQUENTIAL.\r\n\r\nDATA DIVISION.\r\nFILE SECTION.\r\nFD StudentFile.\r\n01 StudentDetails.\r\n   88  EndOfStudentFile  VALUE HIGH-VALUES.\r\n   02  StudentId       PIC X(8). \r\n   02  StudentName     PIC X(25).\r\n   02  CourseCode      PIC X(5). \r\n\r\nPROCEDURE DIVISION.\r\nBegin.\r\n   OPEN INPUT StudentFile \r\n   READ StudentFile \r\n      AT END SET EndOfStudentFile TO TRUE\r\n   END-READ\r\n   PERFORM UNTIL EndOfStudentFile \r\n      DISPLAY StudentName SPACE StudentId SPACE CourseCode \r\n      READ StudentFile \r\n         AT END SET EndOfStudentFile TO TRUE\r\n      END-READ \r\n   END-PERFORM\r\n   CLOSE StudentFile \r\n   STOP RUN.\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>   SELECT StudentFile ASSIGN TO \"Listing5-6-TData.Dat\" \r\n<\/code><\/pre>\n<p>\u5728\u4e2d\u6587\u4e2d\uff0c&#8221;\u3092&#8221; \u53ef\u4ee5\u7ffb\u8bd1\u6210 &#8220;\u5c06&#8221;\u3002<\/p>\n<pre class=\"post-pre\"><code>   SELECT StudentFile ASSIGN TO \"Listing5-6-TData.dat\" \r\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u8fd9\u6837\u505a\u3002<\/p>\n<p>\u5c1d\u8bd5\u5c06\u5176\u8f6c\u5316\u4e3a\u811a\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>#!\/bin\/bash\r\n\r\ncobc -x -free $1.cbl\r\n.\/$1\r\n<\/code><\/pre>\n<p>\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6<\/p>\n<pre class=\"post-pre\"><code>cd ..\r\nvi co.sh\r\n<\/code><\/pre>\n<p>\u6309\u4e0b&#8221;i&#8221;\u952e\u540e\uff0c\u590d\u5236\u7c98\u8d34\u4e0a\u8ff0\u5185\u5bb9\u3002<\/p>\n<p>\u8bf7\u6309\u4e0b[ESC]\u952e\u3002<\/p>\n<pre class=\"post-pre\"><code>:wq\r\n<\/code><\/pre>\n<p>\u5982\u679c\u5f53\u524d\u6587\u4ef6\u5939\u4e2d\u6709\u540d\u4e3aadd.cbl\u7684\u6587\u4ef6\uff0c\u5e76\u4e14co.sh\u5728\u5176\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5b58\u5728\u7684\u8bdd\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ..\/co.sh add\r\n<\/code><\/pre>\n<h2>\u7b2c\u4e03\u7ae0<\/h2>\n<div>\n<div class=\"post-table\">NumberOK\/ERRORListing 7-1 Reading the Employee file.cblE1-&gt;OListing 7-2 Reading the Employee file and displaying the records.cblOListing 7-3 Writing and Reading the Employee file.cblOListing 7-4 Displays the value of the gadgets in stock.cblE2Listing 7-5 Adds two records and then displays stock values again.cblE2<\/div>\n<\/div>\n<p>\u5728\u201c\u5f00\u59cb\u201d\u6bb5\u843d\u4e2d\uff1a<br \/>\n\u9519\u8bef\uff1a\u672a\u77e5\u8bed\u53e5\u201c\u5217\u8868\u201d<br \/>\n\u6ca1\u6709\u8fd9\u6837\u7684\u6587\u4ef6\u6216\u76ee\u5f55<\/p>\n<p>\u6700\u540e\u6dfb\u52a0\u4e86\u4e00\u884c\u5305\u542b&#8221;Listing&#8221;\u5b57\u7b26\u4e32\u7684\u884c\u3002<br \/>\n\u5220\u9664\u540e\uff0c\u9519\u8bef\u6d88\u9664\u4e86\u3002<\/p>\n<p>\u9519\u8bef\uff1a\u8bed\u6cd5\u9519\u8bef\uff0c\u610f\u5916\u7684$undefined\uff0c\u671f\u671b&#8221;\u6587\u4ef6\u7ed3\u675f&#8221;<br \/>\n\u6ca1\u6709\u8fd9\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55<\/p>\n<h2>\u7b2c8\u7ae0<\/h2>\n<h3>\u516b\u51cf\u56db<\/h3>\n<p>Listing8-4.cbl\uff1a32\u884c\uff1a\u9519\u8bef\uff1a\u6ca1\u6709\u5148\u524d\u768408\u7ea7\u6570\u636e\u9879<br \/>\n..\/co.sh\uff1a\u7b2c4\u884c\uff1a.\/Listing8-4: \u6ca1\u6709\u6b64\u6587\u4ef6\u6216\u76ee\u5f55<\/p>\n<p>Listing8-4.cbl:36: \u9519\u8bef: \u6ca1\u670904\u7ea7\u522b\u7684\u5148\u524d\u6570\u636e\u9879<\/p>\n<p>\u5728Listing8-4.cbl\u7684\u7b2c32\u884c\u51fa\u73b0\u9519\u8bef\uff1a\u9700\u8981\u4e3a\u201cMOBandDOB\u201d\u6dfb\u52a0PICTURE\u5b50\u53e5\u3002<\/p>\n<p>\u5f53\u6587\u4ef6\u540d\u8fc7\u957f\u65f6\uff0c\u6587\u4ef6\u4e0d\u5b58\u5728\uff08\u72b6\u6001= 35\uff09\u3002<\/p>\n<h3>\u516b\u51cf\u4e94<\/h3>\n<p>\u6587\u4ef6\u540d\u592a\u957f\u4e86\u3002\u7f29\u77ed\u540e\u901a\u8fc7\u4e86\u3002<\/p>\n<h2>\u7b2c\u4e5d\u7ae0<\/h2>\n<h2>\u4e5d\u70b9\u4e8c<\/h2>\n<pre class=\"post-pre\"><code># ..\/co.sh Listing9-2\r\nListing9-2.cbl:9: Error: syntax error, unexpected DATA\r\n..\/co.sh: line 4: .\/Listing9-2: No such file or directory\r\n# cat Listing9-2.cbl\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>IDENTIFICATION DIVISION.\r\nPROGRAM-ID. Listing9-2.\r\nAUTHOR. Michael Coughlan.\r\nENVIRONMENT DIVISION.\r\nCONFIGURATION SECTION.\r\nSPECIAL-NAMES.\r\n    CURRENCY SIGN IS \"?\"\r\n    \r\nDATA DIVISION.\r\nWORKING-STORAGE SECTION.\r\n01 Edit1     PIC  ???,??9.99.\r\n\r\nPROCEDURE DIVISION.\r\nBegin.\r\n   MOVE 12345.95 TO Edit1\r\n   DISPLAY \"Edit1 = \" Edit1\r\n   STOP RUN.\r\n<\/code><\/pre>\n<p>\u7b2c7\u884c\u672b\u5c3e\u7f3a\u5c11\u53e5\u53f7\u3002\u5728CURRENCY SIGN\u540e\u9762\u52a0\u4e0a\u53e5\u53f7\u540e\uff0c\u7f16\u8bd1\u901a\u8fc7\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code># ..\/co.sh Listing9-2\r\nEdit1 = ?12,345.95\r\n<\/code><\/pre>\n<h3>\u4e5d\u9ede\u4e09<\/h3>\n<pre class=\"post-pre\"><code># ..\/co.sh Listing9-3\r\nListing9-3.cbl:15: Error: Invalid picture string - '$$$,$$9.99'\r\nListing9-3.cbl:17: Error: Invalid picture string - '???,??9.99'\r\nListing9-3.cbl: In paragraph 'Begin':\r\nListing9-3.cbl:30: Error: 'PrnPoundValue' is not numeric or numeric-edited name\r\n..\/co.sh: line 4: .\/Listing9-3: No such file or directory\r\n<\/code><\/pre>\n<h1>\u80cc\u666f &#8211; Background<\/h1>\n<p>\u6211\u8ba4\u4e3a\u65e5\u672c\u7684COBOL\u4e0b\u6ed1\u662f\u56e0\u4e3a\u8ba4\u771f\u8fdb\u884cPC\u4e0a\u7684COBOL\u7f16\u7a0b\u7684\u4eba\u5f88\u5c11\u3002<\/p>\n<p>\u5728\u5750\u4e86\u4e00\u4e2a\u5c0f\u65f6\u7684\u65f6\u95f4\u91cc\uff0c\u5b8c\u6210COBOL\u7684\u5f15\u5165\uff0c\u83b7\u53d6\u6e90\u4ee3\u7801\u5e76\u8fdb\u884c\u7f16\u8bd1\u8fd0\u884c\u3002<\/p>\n<p>\u5927\u7ea630\u5e74\u524d\uff0c\u6211\u53bb\u53c2\u52a0\u5fae\u8f6f\u4f1a\u8bae\u65f6\uff0c\u5728\u65e7\u91d1\u5c71\u9644\u8fd1\u770b\u5230\u5f88\u591a\u4eba\u6b63\u5728\u7528PC\u8fd0\u884cCOBOL\u3002<\/p>\n<p>\u6211\u89c9\u5f97\u5f53\u65f6\u65e5\u672c\u53ef\u80fd\u4f7f\u7528\u4e86100\u500d\u4ee5\u4e0a\u7684\u8bbe\u5907\u6765\u8fd0\u4f5c\u3002<br \/>\n\u6211\u8bb0\u5f97\u5bcc\u58eb\u901a\u548c\u65e5\u7acb\u7684\u4eba\u4e5f\u5728\u8fdb\u884cCOBOL\u7f16\u7a0b\u3002<\/p>\n<p>\u79c1\u306fPC\u3067\u30a2\u30bb\u30f3\u30d6\u30e9, BASIC, \u30e1\u30a4\u30f3\u30d5\u30ec\u30fc\u30e0\u3067COBL, FORTRAN, \u307e\u305fPC\u306b\u623b\u3063\u3066C\u3068\u79fb\u3063\u3066\u884c\u3063\u305f\u306e\u3067PC\u3067COBOL\u306f\u4ed5\u4e8b\u3067\u306f\u3046\u3054\u304b\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n<p>\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u62e9\uff0c\u539f\u6587\u7684\u4e2d\u6587\u7ffb\u8bd1\u5982\u4e0b\uff1a<br \/>\nCOBOL\u4f7f\u7528\u7eb8\u5361\u6253\u7801\u5e76\u6253\u6d1e\u3002\u7136\u540e\uff0c\u7b49\u5f85\u5c06\u5176\u653e\u5165\u7eb8\u5361\u9605\u8bfb\u5668\u4e2d\u9605\u8bfb\uff0c\u8fdb\u884c\u7f16\u8bd1\u548c\u6267\u884c\u3002<\/p>\n<p>\u6bcf\u53f0\u8bbe\u5907\u90fd\u88ab\u5360\u7528\uff0c\u5bfc\u81f4\u6bcf\u5929\u53ea\u80fd\u7f16\u8bd1\u4e24\u6b21\uff0c\u5206\u522b\u5728\u4e0a\u5348\u548c\u4e0b\u5348\u3002<\/p>\n<p>\u7136\u540e\uff0c\u5982\u679c\u51fa\u73b0\u9519\u8bef\uff0c\u5c31\u518d\u6b21\u6253\u5370\u7eb8\u8d28\u5361\u7247\u3002<br \/>\n\u5c06\u7eb8\u8d28\u5361\u7247\u653e\u5165\u5361\u7247\u9605\u8bfb\u5668\u4e2d\u3002<\/p>\n<p>\u8fdb\u884c\u7f16\u8bd1\u548c\u8fd0\u884c\u7684\u52a8\u4f5c\uff0c\u7528\u73b0\u5728\u6240\u8bf4\u7684\u811a\u672c\u8bed\u8a00\u79f0\u4e3aJCL\uff08\u4f5c\u4e1a\u63a7\u5236\u8bed\u8a00\uff09\u7f16\u5199\u7684\u5185\u5bb9\uff0c\u6709\u65f6\u5019\u4e5f\u4f1a\u4f7f\u7528\u7eb8\u5361\u6253\u5b54\u3002\u5509\uff0c\u5fd8\u8bb0\u6253\u4e86\u4ec0\u4e48\u4e86\u3002<\/p>\n<p>\u5728\u73b0\u5728\u6bcf\u5c0f\u65f6\u53ef\u4ee5\u7f16\u8bd110\u751a\u81f320\u6b21\u7684\u60c5\u51b5\u4e0b\uff0c\u7b80\u76f4\u662f\u5929\u5802\u548c\u5730\u72f1\u3002<\/p>\n<p>100\u5206\u306e\uff11\u306e\u8cbb\u7528\u3067\u3067\u304d\u308b\u3053\u3068\u3092\u3001\u306a\u305c\u3084\u3089\u305a\u306b\u4e0b\u964d\u7dda\u3092\u305f\u3069\u308b\u307e\u307e\u306b\u4eca\u65e5\u307e\u3067\u6765\u305f\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u52d5\u304b\u3059\u306e\u304c\uff11\u6642\u9593\u3001docker hub\u306b\u767b\u9332\u3059\u308b\u306e\u304c\uff13\uff10\u5206\u3002\u3053\u306e\u8cc7\u6599\u306e\u6574\u7406\u6642\u9593\u3092\u5165\u308c\u3066\u3002\uff11\u6642\u9593\u534a\u306e\u9593\u306b\u3001\u304a\u98a8\u5442\u306b\u304a\u6e6f\u3092\u306f\u3063\u305f\u308a\u3001\u304a\u6e6f\u3092\u308f\u304b\u3057\u3066\u7dd1\u8336\u3092\uff14\u676f\u98f2\u3093\u3060\u308a\u306e\u96d1\u7528\u3082\u3053\u306a\u3057\u3066\u3002<\/p>\n<h1>\u8bf7\u6ce8\u610f<\/h1>\n<p>\u6211\u4eceGit\u4e0a\u5e26\u6765\u7684\u6e90\u4ee3\u7801\u9700\u8981\u4e24\u4e2a\u9884\u5904\u7406\u6b65\u9aa4\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u6709\u65f6\u5019\uff0c\u5982\u679c\u6587\u4ef6\u540d\u4e3aPC\uff0c\u5219\u65e0\u6cd5\u6b63\u786e\u5904\u7406\u7a7a\u683c\u3002\u5c06\u6587\u4ef6\u79fb\u52a8\u5230\u6ca1\u6709\u7a7a\u683c\u7684\u6587\u4ef6\u540d\uff08mv\uff09\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u5728\u884c\u9996\u52a0\u5165\u5236\u8868\u7b26\u6216\u884c\u53f7\u3002\u5982\u679c\u4e0d\u8fd9\u6837\u505a\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7f16\u8bd1\u9519\u8bef\u3002<\/p>\n<h1>COBOL\u6587\u4ef6<\/h1>\n<p>\u4ee5\u4e0b\u662f\u5bf9\u539f\u6587\u7684\u4e2d\u6587\u89e3\u91ca\uff1a<br \/>\n\u65e5\u672c\u5de5\u4e1a\u89c4\u683c JIS X3002\uff1a2011(ISO\/IEC 1989\uff1a2002) \u662f\u5173\u4e8e\u7535\u5b50\u8ba1\u7b97\u673a\u7a0b\u5e8f\u8bed\u8a00 COBOL \u7684\u4fe1\u606f\u6280\u672f\u9886\u57df\u7684\u7f16\u7a0b\u8bed\u8a00\u89c4\u8303\u3002<br \/>\n\u4f60\u53ef\u4ee5\u5728\u6b64\u7f51\u7ad9\u67e5\u770b\u8be6\u7ec6\u5185\u5bb9\uff1ahttp:\/\/kikakurui.com\/x3\/X3002-2011-01.html<\/p>\n<p>ISO\/IEC 1989:2014 (https:\/\/www.iso.org\/standard\/51416.html) \u662f\u5173\u4e8e\u4fe1\u606f\u6280\u672f\u7684\u56fd\u9645\u6807\u51c6\uff0c\u6d89\u53ca\u7f16\u7a0b\u8bed\u8a00\u3001\u5176\u73af\u5883\u548c\u7cfb\u7edf\u8f6f\u4ef6\u63a5\u53e3\u4ee5\u53ca COBOL \u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n<p>\u300a\u9762\u5411\u7a0b\u5e8f\u5458\u7684COBOL\u5165\u95e8\u300b<\/p>\n<pre class=\"post-pre\"><code>$ docker run -v \/home\/ogawakiyoshi\/Documents\/cobol\/home\/cobol -it ubuntu \/bin\/bash\r\n\r\n# apt-get update\r\n\r\n# apt-get install open-cobol, vim\r\n\r\n# apt-get install git\r\n\r\n#git clone https:\/\/github.com\/Apress\/beg-cobol-for-programmers.git\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>IDENTIFICATION DIVISION.\r\nPROGRAM-ID.  ShortestProgram.\r\nPROCEDURE DIVISION.\r\nDisplayPrompt.\r\n     DISPLAY \"I did it\".\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code># cobc -x 'Listing 2-1  Shortest COBOL program.cbl' \r\nListing 2-1  Shortest COBOL program.cbl:1: Error: Invalid indicator 'F' at column 7\r\n<\/code><\/pre>\n<p>\u4ece\u4eca\u5929\u5f00\u59cb\u5b66\u4e60COBOL\uff08\u4e0a\uff09<\/p>\n<pre class=\"post-pre\"><code>000010 IDENTIFICATION                   DIVISION.\r\n000020 PROGRAM-ID.                      SAMPLE-01.\r\n000030*\r\n000040 ENVIRONMENT                      DIVISION.\r\n000050*\r\n000060 DATA                             DIVISION.\r\n000070*\r\n000080 PROCEDURE                        DIVISION.\r\n000090 MAIN.\r\n000100     DISPLAY \"Hello world!\"  UPON CONSOLE.\r\n000110     STOP RUN.\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code># cobs -x hoge.cob\r\n# .\/hoge\r\nHello world!\r\n<\/code><\/pre>\n<p>\u5373\u4f7f\u6709\u884c\u53f7\u4e5f\u6ca1\u5173\u7cfb\u3002<\/p>\n<pre class=\"post-pre\"><code>       IDENTIFICATION                   DIVISION.\r\n       PROGRAM-ID.                      SAMPLE-01.\r\n       *\r\n       ENVIRONMENT                      DIVISION.\r\n       *\r\n       PROCEDURE                        DIVISION.\r\n            DISPLAY \"I did it!\".\r\n<\/code><\/pre>\n<p>\u4e0d\u9700\u8981\u884c\u53f7\u4e5f\u6ca1\u5173\u7cfb\u3002<\/p>\n<pre class=\"post-pre\"><code># cobc -x Listing\\ 2-3\\ \\ The\\ DoCalc\\ example\\ program.cbl \r\ngcc: error: 2-3: No such file or directory\r\ngcc: error: The: No such file or directory\r\ngcc: error: DoCalc: No such file or directory\r\ngcc: error: example: No such file or directory\r\ngcc: error: program: No such file or directory\r\nroot@266eec874239:\/home\/ogawakiyoshi\/Documents\/cobol\/beg-cobol-for-programmers\/978-1-4302-6253-4_Coughlan_Ch02# cobc -x 'Listing 2-3  The DoCalc example program.cbl' \r\ngcc: error: 2-3: No such file or directory\r\ngcc: error: The: No such file or directory\r\ngcc: error: DoCalc: No such file or directory\r\ngcc: error: example: No such file or directory\r\ngcc: error: program: No such file or directory\r\n\r\n# cp 'Listing 2-3  The DoCalc example program.cbl' docal.cbl\r\n# cobc -x docal.cbl\r\n# .\/docal.cbl\r\nPlease enter two single digit numbers \r\n1\r\n2\r\nResult is = 03\r\n<\/code><\/pre>\n<p>\u6269\u5c55\u540d\u53ef\u4ee5\u662fcob\u6216cbl\u90fd\u6ca1\u95ee\u9898\u3002<\/p>\n<pre class=\"post-pre\"><code>        IDENTIFICATION DIVISION.\r\n        PROGRAM-ID. CobolGreeting.\r\n        *&gt;Program to display COBOL greetings \r\n        DATA DIVISION.\r\n        WORKING-STORAGE SECTION.\r\n        01  IterNum   PIC 9 VALUE 5.\r\n\r\n        PROCEDURE DIVISION.\r\n        BeginProgram.\r\n           PERFORM DisplayGreeting IterNum TIMES.\r\n           STOP RUN.\r\n   \r\n        DisplayGreeting.\r\n           DISPLAY \"Greetings from COBOL\".\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code># cp 'Listing 2-2  The COBOL Greeting program.cbl'  tcgp.cbl\r\n# cobc -x tcgp.cbl\r\n# .\/tcgp.cbl\r\nGreetings from COBOL\r\nGreetings from COBOL\r\nGreetings from COBOL\r\nGreetings from COBOL\r\nGreetings from COBOL\r\n<\/code><\/pre>\n<p>01 Iternum PIC 9 VALUE 5 \u7684\u89e3\u91ca\u662f\u53d8\u91cf\u58f0\u660e\u5e76\u521d\u59cb\u5316\u4e3a5\u3002<\/p>\n<p>\u6267\u884cDisplayGreeting IterNum\u6b21\u3002<\/p>\n<p>\u53ea\u9700\u4e00\u4e2a\u9009\u62e9\uff0c\u7528\u4e2d\u6587\u91cd\u65b0\u8868\u8ff0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<p>COBOL\u662f\u4e00\u79cd\u901a\u8fc7\u9605\u8bfb\u82f1\u8bed\u5c31\u80fd\u7406\u89e3\u7684\u8bed\u8a00\u3002\u975e\u5e38\u7b80\u5355\u3002\u4e0d\u9700\u8981COBOL\u7a0b\u5e8f\u5458\u8fd9\u4e2a\u804c\u4e1a\u3002\u53ea\u8981\u80fd\u8bfb\u5199\u82f1\u8bed\u5c31\u80fd\u505a\u8ba1\u7b97\u5e76\u5f97\u51fa\u7ed3\u679c\u3002<br \/>\n\u6570\u636e\u7684\u7ed3\u6784\u5b9a\u4e49\u4e5f\u5f88\u5bb9\u6613\u3002\u53ef\u80fd\u6709\u4e9b\u4eba\u5bf9\u4e0d\u50cf\u51fd\u6570\u8c03\u7528\u7684\u65b9\u5f0f\u6709\u62b5\u89e6\u611f\u3002\u4f46\u82f1\u8bed\u4e0d\u662f\u51fd\u6570\u8c03\u7528\uff0c\u8fd9\u53c8\u6709\u4ec0\u4e48\u95ee\u9898\u5462\u3002<\/p>\n<p>\u6570\u636e\u5206\u533a<br \/>\n\u7a0b\u5e8f\u5206\u5e03<br \/>\n\u6709\u6570\u636e\u548c\u5904\u7406\u5206\u79bb\u548c\u7ed3\u6784\u5316\u3002<\/p>\n<h1>\u5c06\u6570\u636e\u4fdd\u5b58\u5230Docker\u4e2d\u3002<\/h1>\n<p>\u5728\u4e0e\u6b63\u5728\u8fd0\u884c\u7684Docker\u5206\u79bb\u7684\u53e6\u4e00\u53f0\u7535\u8111\u7684\u64cd\u4f5c\u7cfb\u7edf\u547d\u4ee4\u63d0\u793a\u7b26\u4e0b\u3002<\/p>\n<pre class=\"post-pre\"><code>$ docker ps\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\n266eec874239        ubuntu              \"\/bin\/bash\"         About an hour ago   Up About an hour                        ecstatic_easley\r\n\r\n$ docker commit 266eec874239  kaizenjapan\/cobol\r\nsha256:2eaafd2ced044b906e15b2276e1fe5987b7202f4816065efd725cd3988bc7e98\r\n$ docker push kaizenjapan\/cobol\r\nThe push refers to repository [docker.io\/kaizenjapan\/cobol]\r\n98f34bdd40b3: Pushed \r\n27a216ffe825: Mounted from library\/ubuntu \r\n9e9d3c3a7458: Mounted from library\/ubuntu \r\n7604c8714555: Mounted from library\/ubuntu \r\nadcb570ae9ac: Mounted from library\/ubuntu \r\nlatest: digest: sha256:dfaf8a3e5c910197465469fac68d35948dcabdc0341dccb668196599b5fd5bb3 size: 1363\r\n<\/code><\/pre>\n<h1>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u7684\u8d44\u6599(reference)\u3002<\/h1>\n<p>\u5728Qiita\u4e0a\u4e5f\u6709\u6709\u5173COBOL\u7684\u5185\u5bb9\u3002<\/p>\n<h1>\u5e2e\u52a9<\/h1>\n<pre class=\"post-pre\"><code># cobc --help\r\nUsage: cobc [options] file...\r\n\r\nOptions:\r\n  --help                Display this message\r\n  --version, -V         Display compiler version\r\n  -v                    Display the programs invoked by the compiler\r\n  -x                    Build an executable program\r\n  -m                    Build a dynamically loadable module (default)\r\n  -std=&lt;dialect&gt;        Compile for a specific dialect :\r\n                          cobol2002   Cobol 2002\r\n                          cobol85     Cobol 85\r\n                          ibm         IBM Compatible\r\n                          mvs         MVS Compatible\r\n                          bs2000      BS2000 Compatible\r\n                          mf          Micro Focus Compatible\r\n                          default     When not specified\r\n                        See config\/default.conf and config\/*.conf\r\n  -free                 Use free source format\r\n  -fixed                Use fixed source format (default)\r\n  -O, -O2, -Os          Enable optimization\r\n  -g                    Produce debugging information in the output\r\n  -debug                Enable all run-time error checking\r\n  -o &lt;file&gt;             Place the output into &lt;file&gt;\r\n  -b                    Combine all input files into a single\r\n                        dynamically loadable module\r\n  -E                    Preprocess only; do not compile, assemble or link\r\n  -C                    Translation only; convert COBOL to C\r\n  -S                    Compile only; output assembly file\r\n  -c                    Compile and assemble, but do not link\r\n  -t &lt;file&gt;             Generate and place a program listing into &lt;file&gt;\r\n  -I &lt;directory&gt;        Add &lt;directory&gt; to copy\/include search path\r\n  -L &lt;directory&gt;        Add &lt;directory&gt; to library search path\r\n  -l &lt;lib&gt;              Link the library &lt;lib&gt;\r\n  -D &lt;define&gt;           Pass &lt;define&gt; to the C compiler\r\n  -conf=&lt;file&gt;          User defined dialect configuration - See -std=\r\n  --list-reserved       Display reserved words\r\n  --list-intrinsics     Display intrinsic functions\r\n  --list-mnemonics      Display mnemonic names\r\n  -save-temps(=&lt;dir&gt;)   Save intermediate files (default current directory)\r\n  -MT &lt;target&gt;          Set target file used in dependency list\r\n  -MF &lt;file&gt;            Place dependency list into &lt;file&gt;\r\n  -ext &lt;extension&gt;      Add default file extension\r\n\r\n  -W                    Enable ALL warnings\r\n  -Wall                 Enable all warnings except as noted below\r\n  -Wobsolete            Warn if obsolete features are used\r\n  -Warchaic             Warn if archaic features are used\r\n  -Wredefinition        Warn incompatible redefinition of data items\r\n  -Wconstant            Warn inconsistent constant\r\n  -Wparentheses         Warn lack of parentheses around AND within OR\r\n  -Wstrict-typing       Warn type mismatch strictly\r\n  -Wimplicit-define     Warn implicitly defined data items\r\n  -Wcall-params         Warn non 01\/77 items for CALL params (NOT set with -Wall)\r\n  -Wcolumn-overflow     Warn text after column 72, FIXED format (NOT set with -Wall)\r\n  -Wterminator          Warn lack of scope terminator END-XXX (NOT set with -Wall)\r\n  -Wtruncate            Warn possible field truncation (NOT set with -Wall)\r\n  -Wlinkage             Warn dangling LINKAGE items (NOT set with -Wall)\r\n  -Wunreachable         Warn unreachable statements (NOT set with -Wall)\r\n\r\n  -ftrace               Generate trace code (Executed SECTION\/PARAGRAPH)\r\n  -ftraceall            Generate trace code (Executed SECTION\/PARAGRAPH\/STATEMENTS)\r\n  -fsyntax-only         Syntax error checking only; don't emit any output\r\n  -fdebugging-line      Enable debugging lines ('D' in indicator column)\r\n  -fsource-location     Generate source location code (Turned on by -debug or -g)\r\n  -fimplicit-init       Do automatic initialization of the Cobol runtime system\r\n  -fsign-ascii          Numeric display sign ASCII (Default on ASCII machines)\r\n  -fsign-ebcdic         Numeric display sign EBCDIC (Default on EBCDIC machines)\r\n  -fstack-check         PERFORM stack checking (Turned on by -debug or -g)\r\n  -ffold-copy-lower     Fold COPY subject to lower case (Default no transformation)\r\n  -ffold-copy-upper     Fold COPY subject to upper case (Default no transformation)\r\n  -fnotrunc             Do not truncate binary fields according to PICTURE\r\n  -ffunctions-all       Allow use of intrinsic functions without FUNCTION keyword\r\n  -fmfcomment           '*' or '\/' in column 1 treated as comment (FIXED only)\r\n  -fnull-param          Pass extra NULL terminating pointers on CALL statements\r\n<\/code><\/pre>\n<h1>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u8d44\u6599(reference)<\/h1>\n<p>\u987a\u4fbf\u63d0\u4e00\u4e0b\uff0c\u6211\u4eec\u516c\u53f8\u4e5f\u5728\u7ef4\u62a4COBOL\uff0c\u5bf9\u4e8e\u90a3\u4e9b\u4ece\u672a\u63a5\u89e6\u8fc7\u5b83\u7684\u4eba\u6765\u8bf4\uff0c\u8fd9\u662f\u4e00\u7bc7\u80fd\u591f\u5b8c\u5168\u7406\u89e3COBOL\u7684\u6587\u7ae0\u3002<br \/>\nhttps:\/\/qiita.com\/e99h2121\/items\/47857957fd549c83b5cb<\/p>\n<p>2020\u5e74\u662fCOBOL\u7684\u5143\u5e74\uff0c\u6240\u4ee5\u6211\u8981\u6311\u6230\u57281\u5c0f\u6642\u5167\u5b8c\u6210Hello World\u3002<br \/>\n(Translation: 2020 is the first year of COBOL, so I will challenge myself to complete Hello World in 1 hour.)<\/p>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u3058\u3083\u306a\u3044\u3001COBOL\u3067\u4f9d\u5b58\u6027\u9006\u8ee2\u306e\u6cd5\u5247\u3092\u5b9f\u8df5\u3057\u3066\u307f\u308b<br \/>\nhttps:\/\/qiita.com\/madilloar\/items\/f5126dbd03f69b5b986c<\/p>\n<h2>\u81ea\u6211\u53c2\u7167 (z\u00ec w\u01d2<\/h2>\n<p>\u5728Qiita\u4e0a\u4e5f\u6709COBOL\u7684\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e09\u5927\u9762\u5411\u5bf9\u8c61\u8bed\u8a00<\/p>\n<p>&nbsp;<\/p>\n<p>\u7f16\u7a0b\u8bed\u8a00\u6559\u80b2\u7684XYZ<\/p>\n<p>&nbsp;<\/p>\n<p>\u5e9f\u5f03\u7684\u8f6f\u4ef6\u6216\u8005\u76ee\u524d\u672a\u4f7f\u7528\u7684\u8f6f\u4ef6<\/p>\n<p>&nbsp;<\/p>\n<p>\u6570\u636e\u79d1\u5b66\u5bb6\u7684\u9886\u609f\uff01&#8221;\u8ba8\u538c\u90a3\u4e9b\u5b66\u4e60\u5374\u4e0d\u628a\u6240\u5b66\u8fd0\u7528\u5728\u5de5\u4f5c\u4e2d\u7684\u4eba\uff01&#8221; \u7a81\u7136\u610f\u8bc6\u5230 &#8220;\u96be\u9053\u6211\u5c31\u662f\u5176\u4e2d\u4e4b\u4e00\u5417\uff1f&#8221;<\/p>\n<p>&nbsp;<\/p>\n<h1>2022\u5e74\u7684\u964d\u4e34\u65e5\u5386\u3002<\/h1>\n<p>\u6211\u5011\u4eca\u5e74\u7b56\u5283\u4e86\u56db\u500b\u5723\u8a95\u65e5\u6b77\uff0c\u73fe\u5728\u6211\u5011\u5c07\u5206\u5225\u4ecb\u7d39\u5176\u4e2d\u4e00\u7bc7\u6587\u7ae0\u3002<\/p>\n<p>AUTOSAR\u65e5\u53862022\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>AUTOSAR \u5bf9 ISO\u3001IEC\u3001ITU\u3001IEEE\u3001RFC \u548c SEA \u7b49\u8fdb\u884c\u4e86\u53c2\u8003\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>2022\u5e74\u6c7d\u8f66\u624b\u518c\u5723\u8bde\u65e5\u5386<\/p>\n<p>&nbsp;<\/p>\n<p>\u57fa\u672c\u539f\u5219\uff0c\u6ce2\u4ec0\u6c7d\u8f66\u624b\u518c\uff08\u82f1\u6587\uff09\u7b2c11\u7248\u6458\u8981&lt;2&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>2022 \u5e74\u300c\u70b9\u8d5e\u300d\u6587\u7ae0\u6392\u884c\u699c\uff08O.K. \u7248\uff092022 \u5e74\u5723\u8bde\u65e5\u5386<\/p>\n<p>&nbsp;<\/p>\n<p>2022\u5e741\u6708\u4e0b\u65ec\uff0c\u4e00\u7bc7\u6536\u5230\u4e8616\u4e2a\u8d5e\u7684\u6587\u7ae0\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>AdCale\uff08\u597d\u7684\uff092022\u5e74\u5723\u8bde\u8282\u65e5\u5386<\/p>\n<p>&nbsp;<\/p>\n<p>\u4f1a\u8bae\u5c06\u5728\u4e0d\u523015\u5206\u949f\u4e4b\u5185\u7ed3\u675f\u3002\u542c\u6765\u7684\u5c0f\u9053\u6d88\u606f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>2022 \u5e74\u300aAdvent Calendar\u300b\u5831\u544a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u9519\u8bef\u7684\u8bc4\u4f30\u65b9\u9762\u4e0d\u64c5\u957f\uff08\u5728\u975e\u4e13\u4e1a\u9886\u57df\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u662f\u57fa\u4e8e\u4e2a\u4eba\u8fc7\u53bb\u7ecf\u5386\u7684\u4e2a\u4eba\u611f\u60f3\u3002\u4e0e\u6211\u76ee\u524d\u6240\u5728\u7684\u7ec4\u7ec7\u548c\u5de5\u4f5c\u65e0\u5173\u3002<\/p>\n<h1>\u6587\u4ef6\u5386\u53f2\u8bb0\u5f55<\/h1>\n<p>\u7b2c\u4e00\u72480.01 \u8d77\u8349\u4e8e20221212<br \/>\n\u7b2c\u4e8c\u72480.02 \u589e\u52a0URL \u4e8e20230224<\/p>\n<h3>\u975e\u5e38\u611f\u8c22\u60a8\u7684\u9605\u8bfb\u81f3\u6700\u540e\u3002<\/h3>\n<p>\u559c\u6b22\u7684\u8bdd\uff0c\u8bf7\u5173\u6ce8\u6211\u3002<\/p>\n<h4>\u975e\u5e38\u611f\u8c22\u60a8\u8bfb\u5230\u6700\u540e\u4e00\u53e5\u8bdd\u3002<\/h4>\n<p>\u8bf7\u70b9\u51fb\u559c\u6b22\u7684\u56fe\u6807?\u5e76\u5173\u6ce8\u6211\uff0c\u4eab\u53d7\u5e78\u798f\u751f\u6d3b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c1d\u8bd5\u572840\u5e74\u540e\u91cd\u65b0\u8fd0\u884cCOBOL\uff1a\u4f7f\u7528Docker\u6267\u884cCOBOL\u3002\u901a\u8fc7Docker\uff0881\uff09\u7a0d\u4f5c\u8c03\u6574\uff084\uff09\u7684\u7a0b\u5e8f [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-35029","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728docker\u4e2d\u8fd0\u884cCOBOL - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728docker\u4e2d\u8fd0\u884ccobol\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728docker\u4e2d\u8fd0\u884cCOBOL\" \/>\n<meta property=\"og:description\" content=\"\u5c1d\u8bd5\u572840\u5e74\u540e\u91cd\u65b0\u8fd0\u884cCOBOL\uff1a\u4f7f\u7528Docker\u6267\u884cCOBOL\u3002\u901a\u8fc7Docker\uff0881\uff09\u7a0d\u4f5c\u8c03\u6574\uff084\uff09\u7684\u7a0b\u5e8f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728docker\u4e2d\u8fd0\u884ccobol\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-03T00:20:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T03:22:49+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/\",\"name\":\"\u5728docker\u4e2d\u8fd0\u884cCOBOL - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-03T00:20:27+00:00\",\"dateModified\":\"2024-05-04T03:22:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728docker\u4e2d\u8fd0\u884cCOBOL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728docker\u4e2d\u8fd0\u884cCOBOL - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728docker\u4e2d\u8fd0\u884ccobol\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728docker\u4e2d\u8fd0\u884cCOBOL","og_description":"\u5c1d\u8bd5\u572840\u5e74\u540e\u91cd\u65b0\u8fd0\u884cCOBOL\uff1a\u4f7f\u7528Docker\u6267\u884cCOBOL\u3002\u901a\u8fc7Docker\uff0881\uff09\u7a0d\u4f5c\u8c03\u6574\uff084\uff09\u7684\u7a0b\u5e8f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728docker\u4e2d\u8fd0\u884ccobol\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-03T00:20:27+00:00","article_modified_time":"2024-05-04T03:22:49+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/","name":"\u5728docker\u4e2d\u8fd0\u884cCOBOL - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-03T00:20:27+00:00","dateModified":"2024-05-04T03:22:49+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728docker\u4e2d\u8fd0\u884cCOBOL"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8docker%e4%b8%ad%e8%bf%90%e8%a1%8ccobol%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=35029"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35029\/revisions"}],"predecessor-version":[{"id":98031,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35029\/revisions\/98031"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=35029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=35029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=35029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}