°æ°í
  ¹Ú¿ì¹üÀÇ Çã¶ô ¾øÀÌ´Â »ó¾÷Àû »ç¿ëÀ» ±ÝÇÕ´Ï´Ù.


 
2.3.1.1.6  DATA RECORD clause
 
 [Çü½Ä]
 
DATA { RECORD  IS } ·¹ÄÚµå¸í-1 [ , ·¹ÄÚµå¸í-2 ¡¦ ]
RECORDS ARE      
 
 ÆÄÀÏ¿¡ ¼ÓÇÑ ·¹ÄÚµåÀÇ À̸§À» Á¤ÀÇÇÒ ¶§ »ç¿ëµÇ¸ç 2°³ ÀÌ»óÀÇ ÇüŸ¦ °¡Áø ·¹Äڵ带 Æ÷ÇÔÇÒ ¼ö ÀÖ½À´Ï´Ù.
 
1.  ÆÄÀÏÀ» ±¸¼ºÇÏ´Â ³í¸® ·¹ÄÚµåÀÇ À̸§À» ³ªÅ¸³À´Ï´Ù.
2.  data-nameµéÀº °èÃþ¹øÈ£ 01·Î¼­ »ç¿ëÀÚ ´Ü¾îÀÔ´Ï´Ù.
ex1.  DATA  RECORD    IS     IN-R.
ex2.  DATA  RECORDS  ARE  IN-R1  IN-R2.
 
 
 [¿¹¹® 1]
 
FD R-F LABEL RECORD IS STANDARD
DATA RECORD IS W-REC.
01 W-REC.
03 W-NO PIC  9(3).
03 W-NAME PIC  X(7).
03 W-SU PIC  9(7).
 
 
 [¿¹¹® 2]
 
FD R-F LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 10 RECORDS
RECORD CONTAINS 50 CHARACTERS
DATA RECORDS ARE K-REC, F-REC.
01 K-REC.
03 K-NO PIC  9(3).
03 K-NAME PIC  X(20).
03 K-SU.
05  KOR PIC  9(3).
05  ENG PIC  9(3).
05  MAT PIC  9(3).
03 K-TOT PIC  9(3).
01 F-REC.
03 F-ADDR PIC  X(20).
03 F-ID PIC  X(11).
03 F-SEX PIC  9.
03 F-RANK PIC  9(3).
 
1)  ÇÑ ÆÄÀÏ ³»ÀÇ ¼­·Î ´Ù¸¥ ·¹ÄÚµåÀÇ À̸§À» ÁöÁ¤Çϸç, °°Àº ¿µ¿ªÀ» °øÀ¯ÇÕ´Ï´Ù.
2)  °¢ ·¹ÄÚµåµéÀº ¼­·Î ´Ù¸¥ ÇüÅÂ(format)¿Í ±æÀ̸¦ °¡Á®µµ µË´Ï´Ù. ±×·¯³ª °¢ ·¹ÄÚµåµéÀÇ Å©±â´Â °°¾Æ¾ß ÇÕ´Ï´Ù.
 
 
ÁöÀû ¼ÒÀ¯±ÇÀ» º¸È£ÇսôÙ.
 
¢Ð ¢½ ¢Ñ