|
¹Ú¿ì¹üÀÇ Çã¶ô ¾øÀÌ´Â »ó¾÷Àû »ç¿ëÀ» ±ÝÇÕ´Ï´Ù. |
2.2.4 ¼øÂ÷ ÆÄÀÏ (SEQUENTIAL FILE) |
ÀÏ°ý(BATCH) 󸮿¡ ¸¹ÀÌ ÀÌ¿ëµÇ¸ç, ·¹Äڵ带 ¼øÂ÷ÀûÀ¸·Î Á¢±ÙÇÏ¿© ó¸®ÇÕ´Ï´Ù. |
¼øÂ÷ 󸮸¦ ÇϹǷΠ·¹ÄÚµåÀÇ »ðÀÔÀ̳ª »èÁ¦´Â ¸¹Àº ºÒÆíÀÌ µû¸¨´Ï´Ù. |
(1) SELECT ¹® | |
[Çü½Ä] | |
SELECT
|
ÆÄÀϸí ASSIGN TO ¿ÜºÎ ½Ã½ºÅÛ¸í |
[ ORGANIZATION IS SEQUENTIAL ] | |
[ ACCESS MODE IS SEQUENTIAL ]. |
a. | ½Ã½ºÅÛ¸íÀº ´ÙÀ½°ú °°ÀÌ ±¸¼ºÇÕ´Ï´Ù. | ||||||||||||
|
|||||||||||||
[¿¹¹®] | |||||||||||||
SELECT C-F ASSIGN TO INPUT
"TEST.DAT".
SELECT C-F ASSIGN TO OUTPUT "TEST.PRN". SELECT C-F ASSIGN TO RANDOM "TEST.DAT". SELECT C-F ASSIGN TO PRINT "PRINTER". |
|||||||||||||
b. | ¼øÂ÷ ±¸Á¶¿¡¼´Â ORGANIZATIONÀ̳ª ACCESS MODE±¸´Â »ý·«ÀÌ °¡´ÉÇϳª, ÄÄÆÄÀÏ·¯ Á¾·ù¿¡ µû¶ó »ý·«Çؼ´Â ¾ÈµÉ ¶§µµ ÀÖ½À´Ï´Ù. |
|
¢Ð | ¢½ | ¢Ñ |