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


 
2.3.3  LINKAGE SECTION.
 
 
¡Ù
 Linkage SectionÀº ºÎ ÇÁ·Î±×·¥(Subprogram)ÀÇ Data Division¿¡ ±â¼úµÇ¾î¾ß Çϸç, È£Ãâ ÇÁ·Î±×·¥(main ¶Ç´Â calling program)¿¡¼­ È£ÃâµÈ ÇÁ·Î±×·¥(called program)¿¡ ¸Å°³º¯¼ö(parameter)¸¦ ³Ñ°ÜÁִµ¥ »ç¿ëµË´Ï´Ù.
¡Ù
 ¸Å°³ º¯¼ö´Â È£Ãâ ÇÁ·Î±×·¥ÀÇ CALL¹®°ú ºÎ ÇÁ·Î±×·¥ÀÇ Procedure Division header¿¡ USING±¸¸¦ »ç¿ëÇÏ¿© ÁöÁ¤ÇÏ¿©¾ß ÇÕ´Ï´Ù.
 
[1]
 Linkage ·¹ÄÚµå
¢¡
 Linkage section³»¿¡´Â Working-storage section¿¡ »ç¿ëµÈ °Í°ú °°Àº µ¶¸³ Ç׸ñ°ú ·¹ÄÚµå Ç׸ñÀÌ ¼­¼úµÉ ¼ö ÀÖ½À´Ï´Ù.
 
[2]
 ÃʱâÄ¡ ¼³Á¤
¢¡
 LINKAGE SECTION³»¿¡¼­´Â Á¶°Ç À̸§ Ç׸ñ(·¹º§ ¹øÈ£ 88)À» Á¦¿ÜÇÏ°í´Â VALUEÀýÀ» »ç¿ëÇÏ¿© µ¥ÀÌŸ Ç׸ñ¿¡ ÃʱâÄ¡¸¦ ÇÒ´çÇÒ ¼ö ¾ø½À´Ï´Ù.
 
 
 
  [¿¹Á¦] 
Main-program
DATA DIVISION.
:
WORKING-STORAGE SECTION.
77 A1 PIC 9(3).
77 A2 PIC X(15).
01 B1 PIC X(10).
:
PROCEDURE DIVISION.
:
CALL "SUBPRO" 
USING A1, A2, B1.
:
STOP RUN.
 
 
 
Sub-program
DATA DIVISION.
:
LINKAGE SECTION.
77 A1 PIC 9(3).
77 A2 PIC X(15).
01 B1 PIC X(10).
:
PROCEDURE DIVISION
USING  A1, A2, B1.
:
OUT-RTN.
EXIT PROGRAM.
 
 
ÁöÀû ¼ÒÀ¯±ÇÀ» º¸È£ÇսôÙ.
 
¢Ð ¢½ ¢Ñ