1、 KS X ISO 1989 KSKSKSKS SKSKSKS KSKSKS SKSKS KSKS SKS KS (COBOL) KS X ISO 1989 : 2007 (2012 ) 2007 10 30 http:/www.kats.go.krKS X ISO 1989:2007 : ( ) ( ) SJ ( ) : (JTC1/SC22) () ( ) Microsoft IBM : (http:/www.standard.go.kr) : :1976 9 28 :2007 10 30 :2012 12 28 : 2012-0797 : (JTC1/SC22) ( 02-509-726
2、2) (http:/www.kats.go.kr). 10 5 , . KS X ISO 1989:2007 i 1 1 2 .1 3 COBOL .13 3.1 COBOL 13 3.2 COBOL 14 3.3 15 3.4 16 4 16 4.1 .16 4.2 17 4.3 18 4.4 .32 4.5 .33 4.6 34 4.7 .35 4.8 .40 4.9 .43 5 .45 5.1 .45 5.2 .46 5.3 .48 5.4 51 5.5 .68 6 104 6.1 .104 6.2 104 6.3 .107 7 111 7.1 .111 7.2 .114 7.3 117
3、 7.4 .123 8 133 8.1 .133 8.2 .136 8.3 139 8.4 .143 KS X ISO 1989:2007 ii 9 152 9.1 .152 9.2 .155 9.3 158 9.4 .162 10 172 10.1 .172 10.2 .173 10.3 175 10.4 .176 11 .183 11.1 .183 11.2 184 11.3 .212 12 217 12.1 .217 12.2 .217 12.3 218 12.4 .220 13 221 13.1 .221 13.2 COPY .221 14 223 14.1 .223 14.2 .22
4、4 14.3 .224 15 .229 15.1 .229 15.2 229 15.3 .230 16 .233 16.1 .233 16.2 233 16.3 .240 .261 KS X ISO 1989 : 2007 (2012 ) (COBOL) Programming languages Cobol(endorsement of ansi standard x3.23-1985) 1985 2 ISO 1989, Programming languagesCOBOL . 1 COBOL . COBOL . 2 . a) (destination) b) (indentifier) ,
5、 . c) (printable item) . COLUMN NUMBER PICTURE SOURCE , SUM VALUE . d) (printable group) 1 e) (column) . 1 . f) (alphabetic character) A, B, C, D, E, F, G, H,I, J, K, L, M, N,O, P, Q, R, S, T, U, V, W, X, Y, Z g) (alphanumeric character) (computers character set) h) (operational sign) i) OPEN (open
6、mode) OPEN CLOSE . OPEN OPEN INPUT, OUTPUT, I-O EXTEND . j) (counter) , , , , . k) (extend mode) EXTEND OPEN , CLOSE . KS X ISO 1989:2007 2 l) (pseudo-text) . . m) (pseudo-text delimiter) 2 (), . n) (environment clause) o) (sentence) . p) (key) , q) (entry) COBOL , , . r) (object of entry) s) (subje
7、ct of entry) t) (elementary item) u) (line number) v) (clause, phrase) COBOL . w) (delimiter) , . . x) (punctuation character) , ; . “ ( ) y) (segment-number) . 1 2 . z) (combined condition) 2 AND OR aa) (computer-name) ab) (format) 1 ac) (digit position) 1 , . . ad) (source item) SOURCE (identifier
8、) ae) (language-name) af) (current record) ag) (source program) COBOL . . ah) (text-word) COBOL ai) (text-name) aj) (word) 30 , , . KS X ISO 1989:2007 3 ak) (sum counter) SUM . . al) (descending key) , am) (configuration section) , . an) COBOL (COBOL character set) 51 0, 1, 9 A, B, , Z + - * / = , ;
9、 . “ ( ) ( ) ( ) ao) (native collating sequence) ap) (native character set) aq) (low order end) ar) (high order end) as) (working-storage section) , . at) (indexed file) au) (indexed organization) 1 av) (implementor-name) aw) (operand) , . ax) (arithmetic operator) 1 2 + - * / * KS X ISO 1989:2007 4
10、 ay) (arithmetic expression) , , , , az) (key of reference) ba) (system-name) COBOL bb) (execution time, object time) bc) (run unit) bd) (object-computer) , . be) (object program) . COBOL . . bf) (actual decimal point) (.) (,) . bg) (index) , . bh) (indexed data-name) . bi) (index data item) bj) (in
11、dex-name) bk) (qualifier) . 1) 2) 3) bl) (qualified data-name) OF IN . bm) (group item) 1 . bn) (message indicator) (EGI) (EMI) (ESI) EGI, EMI ESI EGI ESI EMI . EMI ESI . ESI, EMI EGI . EMI EGI . bo) (at end condition) SEARCH WHEN bp) (output procedure) S O R T MERGE bq) (output file) br) (output mo
12、de) OUTPUT EXTEND OPEN , CLOSE . KS X ISO 1989:2007 5 bs) (prime record key) bt) (sequential file) bu) (sequential organization) bv) (sequential access) bw) (condition) . -1, -2 , . bx) (conditional expression) IF, PERFORM SEARCH ( ) by) (conditional variable) 1 bz) (condition-name) , , ca) (conditi
13、on-name condition) cb) (conditional statement) cc) (ascending key) cd) (字類) (class condition) , ce) (truth value) , 2 . () () cf) (switch-status condition) cg) (numeric character) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ch) (numeric item) 0 9 . “+”, “_” . ci) (numeric literal) 1 , . . . cj) (control footing) c
14、k) (control heading) cl) (control hierarchy) CONTROL FINAL cm) (control break) CONTROL . cn) (control break level) co) (control group) FINAL . , , . cp) (control data item) cq) (control data-name) CONTROL , KS X ISO 1989:2007 6 cr) (reference format) COBOL cs) (integer) . , , . ct) (sign condition)
15、cu) (sort-merge file description entry) , SD , . . cv) (sort file) SORT . . . cw) (section) , . . cx) (section header) , . , . CONFIGURATION SECTION. INPUT-OUTPUT SECTION. FILE SECTION. WORKING-STORAGE SECTION. LINKAGE SECTION. COMMUNICATION SECTION. REPORT SECTION. , SECTION, ( ) , . cy) (section-n
16、ame) cz) (declarative-sentence) 1 USE da) (declaratives) DECLARATIVES END DECLARA TIVES . USE , . db) (relative key) dc) (relative file) dd) (relative organization) 1 de) (assumed decimal point) . , . df) (subscript) dg) (subscripted data-name) 1 dh) (mass storage) di) (mass storage control system)
17、dj) (mass storage file) dk) (unary operator) () (), 1 1 . KS X ISO 1989:2007 7 dl) (simple condition) (字類) (正) (負) ( ) dm) (paragraph) . . dn) (paragraph header) , . . PROGRAM-ID. AUTHOR. INSTALLATION. DATA-WRITTEN. DATA-COMPILED. SECURITY. SOURCE-COMPUTER. OBJECT-COMPUTER. SPECIAL-NAMES. FILE-CONTR
18、OL. I-O-CONTROL. do) (paragraph-name) dp) (comment line) , A B . . (/) . A B . dq) (comment-entry) dr) (currency sign) COBOL “” ds) (currency symbol) CURRENCY SIGN COBOL CURRENCY SIGN . dt) (message control system) . du) (communication description entry) CD , . COBOL . dv) (cd-name) , dw) (message segment) dx) (communication section) ,1 . dy) (terminal, communication device) ( ). . 1 KS X ISO 1989:2007 8 . dz) (message) ea) (message count) eb) (next executable sentence) ec) (next executable statement) ed) (next record) ee) (literal) , . ef) (data description entry) , , . eg) (data clause) ,