<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%è¡¨é¡Œ   MISC1 (ãã®ä»–ã®åŸºæœ¬å‡¦ç†ä¸‹ä½ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸)
%
%å±¥æ­´
%\Drireki{
%         92/01/17 é…’äº•  æ•
%         92/04/22 æž—ç¥¥ä»‹   (4.1ç‰ˆ)
%         94/04/23 å¡©è°·é›…äºº (5.zç‰ˆ)
%        }
%
\section{ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€&nbsp;}
  % \label{file}

ãƒ•ã‚¡ã‚¤ãƒ«ã®å½¢å¼ã‚‚æ©Ÿç¨®ã«ã‚ˆã‚Šã‹ãªã‚Šç•°ãªã‚‹ãŒ, 
FIOLIB ã¯å›ºå®šé•·ãƒ¬ã‚³ãƒ¼ãƒ‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«é™ã£ã¦
ç•°æ©Ÿç¨®é–“ã®ãƒ‡ãƒ¼ã‚¿è»¢é€ã‚’å¯èƒ½ã«ã™ã‚‹ãŸã‚ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ãƒ¼ã§ã‚ã‚‹. 
\vspace{1em}

FORTRANè¦æ&nbsp;¼ã«ãŠã‘ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®å±žæ€§ã¯åŸºæœ¬çš„ã«, 
æ›¸å¼ã®ã‚ã‚Šãªã—(FORMATTED/UNFORMATTED)ã¨ 
ã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•(SEQUENTIAL/DIRECT) ã®çµ„ã¿åˆã›ã§æ±ºã‚‹. 
æ›¸å¼ã®ã‚ã‚Šãªã—ã¯, ä¾‹ãˆã°WRITEæ–‡ã‚’å®Ÿè¡Œã™ã‚‹ã¨ãã«, 
å†…éƒ¨è¡¨ç¾ã‚’æ–‡å­—ã«å¤‰æ›ã™ã‚‹ã‹, å†…éƒ¨è¡¨ç¾ã‚’ãã®ã¾ã¾å‡ºåŠ›ã™ã‚‹ã‹ã¨ã„ã†ã“ã¨ã‚’
æŒ‡å®šã™ã‚‹ã‚‚ã®ã§ã‚ã‚Š, 
ã„ã‚ã°ã€Œãƒ•ã‚¡ã‚¤ãƒ«ã®ä¸­èº«ã€ã‚’æŒ‡å®šã™ã‚‹ã‚‚ã®ã§ã‚ã‚‹.  
ä¸€æ–¹, ã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•ã®æŒ‡å®šã¯æ–‡å­—ã©ãŠã‚Šè§£é‡ˆã™ã‚Œã°, 
é&nbsp;†ç•ªã«èª­ã¿æ›¸ãã™ã‚‹ã‹, ãƒ©ãƒ³ãƒ€ãƒ&nbsp;ã«èª­ã¿æ›¸ãã™ã‚‹ã‹ã¨ã„ã†æŒ‡å®šã§ã‚ã‚‹ãŒ, 
å®Ÿéš›ã«ã¯ã€Œã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•ã€ã‚ˆã‚Šã‚‚, 
ãã®ã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•ã‚’å®Ÿç¾ã™ã‚‹ã€Œãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€&nbsp;ã€ã®æ–¹ãŒå•é¡Œã¨ãªã‚‹å&nbsp;´åˆãŒå¤šã„. 
\vspace{1em}

è¦æ&nbsp;¼ä¸Š, 
DIRECT ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ãƒ¬ã‚³ãƒ¼ãƒ‰é•·ã‚’æŒ‡å®šã™ã‚‹RECLæŒ‡å®šå­ã‚’æ›¸ã‹ãªã‘ã‚Œã°ãªã‚‰ãš, 
SEQUENTIAL ãƒ•ã‚¡ã‚¤ãƒ«ã®å&nbsp;´åˆã«ã¯, ã“ã‚Œã‚’\.æ›¸\.ã„\.ã¦\.ã¯\.ã„\.ã‘\.ãª\.ã„. 
ã¤ã¾ã‚Š, ã€Œã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•ã€ã®æŒ‡å®šã¯, 
DIRECT ãƒ•ã‚¡ã‚¤ãƒ«ã¯å›ºå®šé•·ãƒ¬ã‚³ãƒ¼ãƒ‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã§ã‚ã‚Š, 
SEQUENTIAL ãƒ•ã‚¡ã‚¤ãƒ«ã¯å¯å¤‰é•·ãƒ¬ã‚³ãƒ¼ãƒ‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã§ã‚ã‚‹ã¨ã„ã†
ã€Œãƒ•ã‚¡ã‚¤ãƒ«æ§‹é€&nbsp;ã€ã‚’æš—é»™ã®ã†ã¡ã«æŒ‡å®šã™ã‚‹ã“ã¨ã«ãªã‚‹. 
\vspace{1em}

FORTRANãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ä¸Šã®è«–ç†çš„ãªãƒ¬ã‚³ãƒ¼ãƒ‰ãŒ, 
å®Ÿéš›ã«è¨˜éŒ²åª’ä½“ã®ä¸Šã§ã©ã®ã‚ˆã†ã«è¨˜éŒ²ã•ã‚Œã‚‹ã‹ã¨ã„ã†ã“ã¨ã«é–¢ã—ã¦ã‚‚, 
å¤§ããåˆ†ã‘ã¦ãƒ¡ã‚¤ãƒ³ãƒ•ãƒ¬ãƒ¼ãƒ&nbsp;ç³»(IBMç³»)ã¨UNIXç³»ã®2ç¨®é¡žã‚ã‚Š, 
ãã‚Œãžã‚Œãƒ•ã‚¡ã‚¤ãƒ«ã®æ‰±ã„æ–¹ãŒã‹ãªã‚Šç•°ãªã‚‹. 

%------------------------------- IBM --------------------------------
\subsection{ãƒ¡ã‚¤ãƒ³ãƒ•ãƒ¬ãƒ¼ãƒ&nbsp;ç³»}
  ãƒ¡ã‚¤ãƒ³ãƒ•ãƒ¬ãƒ¼ãƒ&nbsp;ç³»ã®è¨ˆç®—æ©Ÿã§ã¯, 
  ã‚¢ã‚¯ã‚»ã‚¹æ–¹æ³•ã¨ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€&nbsp;ã¯, ã»ã¨ã‚“ã©ç‹¬ç«‹ã—ãŸæ¦‚å¿µã¨ã—ã¦æ‰±ã‚ã‚Œã‚‹. 
  ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€&nbsp;ã¨ã—ã¦ã¯,  
  å›ºå®šé•·(F), å¯å¤‰é•·(V), ãƒ–ãƒ­ãƒƒã‚¯åŒ–å›ºå®šé•·(FB), ãƒ–ãƒ­ãƒƒã‚¯åŒ–å¯å¤‰é•·(VB), 
  ã•ã‚‰ã«, ã‚¹ãƒ‘ãƒ³ãƒ‰ãƒ–ãƒ­ãƒƒã‚¯åŒ–å¯å¤‰é•·(VBS) ãªã©ãŒã‚ã‚‹ãŒ, 
  ã“ã‚Œã‚‰ã®æ¦‚å¿µã¯FORTRANã«ã¯ãªã„ã®ã§, 
  FORTRANãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ä»¥å¤–ã®éƒ¨åˆ†(DDæ–‡ãªã©)ã§æŒ‡å®šã™ã‚‹ã“ã¨ã«ãªã‚‹. 
  \vspace{1em}
  
  ã“ã‚Œã‚‰ã®ãƒ•ã‚¡ã‚¤ãƒ«æ§‹é€&nbsp;ã®ã†ã¡, å›ºå®šé•·ãƒ•ã‚¡ã‚¤ãƒ«(F, FB)ãŒæœ€ã‚‚å˜ç´”ã§, 
  æ±ºã£ãŸé•·ã•ã®ãƒ‡ãƒ¼ã‚¿ãŒä¸¦ã‚“ã§ã„ã‚‹ã&nbsp;ã‘ã§, 
  ä½™åˆ†ãªã‚³ãƒ¼ãƒ‰ã¯å…¥ã£ã¦ã„ãªã„. 
  ã“ã‚Œã«å¯¾ã—ã¦, ã‚¹ãƒ‘ãƒ³ãƒ‰ãƒ–ãƒ­ãƒƒã‚¯åŒ–å¯å¤‰é•·(VBS)å½¢å¼ã¯, 
  æœ€ã‚‚è¤‡é›‘ãªæ§‹é€&nbsp;ã‚’ã—ã¦ã„ã‚‹ãŒ, ã©ã‚“ãªé•·ã•ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚‚è¨˜éŒ²ã§ãã‚‹
  çœŸã®å¯å¤‰é•·ãƒ¬ã‚³ãƒ¼ãƒ‰å½¢å¼ã§ã‚ã‚‹
  (V, VBã¯å¯å¤‰é•·ã¨ã„ã£ã¦ã‚‚ãƒ¬ã‚³ãƒ¼ãƒ‰é•·ã®ä¸Šé™ãŒã‚ã‚‹). 
  \vspace{1em}

  ã¾ãŸ, ä¸€èˆ¬ã«è¨ˆç®—æ©ŸãŒèª­ã¿æ›¸ãã™ã‚‹æ™‚ã«ã¯, 
  ã§ãã‚‹ã&nbsp;ã‘å¤§ããªå˜ä½ã«ã¾ã¨ã‚ã¦è¡Œã†æ–¹ãŒåŠ¹çŽ‡ãŒã‚ˆã„ã®ã§, 
  ãƒ–ãƒ­ãƒƒã‚¯åŒ–ã•ã‚ŒãŸå½¢å¼ã®æ–¹ãŒå‡¦ç†ã¯æ—©ã„. 
  \vspace{1em}

\begin{itemize}
  \item {\bf SEQUENTIAL ãƒ•ã‚¡ã‚¤ãƒ«}
    \begin{quote}
      æ›¸å¼ãªã—ã®SEQUENTIALãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯, 
      é€šå¸¸VBSå½¢å¼ãŒä½¿ã‚ã‚Œã‚‹. 
      ã“ã®å½¢å¼ãŒæœ€ã‚‚FORTRANè¦æ&nbsp;¼ã¨ã¯æ•´åˆæ€§ãŒã‚ˆã, 
      DDæ–‡ãªã©ã§ä½•ã‚‚æŒ‡å®šã—ãªã‘ã‚Œã°, 
      ã“ã®å½¢å¼ãŒæŽ¡ç”¨ã•ã‚Œã‚‹å&nbsp;´åˆãŒå¤šã„. 

      æ›¸å¼ã¤ãã®å&nbsp;´åˆã¯, ã‚‚ã¨ã‚‚ã¨, ç‰¹å®šã®é•·ã•ã‚’æŒã¤ãƒ‡ãƒã‚¤ã‚¹ã«å‡ºåŠ›
      ã™ã‚‹ã“ã¨ãŒå¤šã„ã®ã§, F, FB ãªã©ã‚‚ä½¿ã‚ã‚Œã‚‹. 
      ã“ã®å&nbsp;´åˆ, ãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ãŒæ›¸ãå‡ºã™ãƒ¬ã‚³ãƒ¼ãƒ‰ã®æœ€å¤§ãƒ¬ã‚³ãƒ¼ãƒ‰é•·ãŒ, 
      ãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ¬ã‚³ãƒ¼ãƒ‰é•·ã‚’è¶Šãˆã‚‹ã“ã¨ãŒãªã„ã‚ˆã†ã«
      æ³¨æ„ã—ãªã‘ã‚Œã°ãªã‚‰ãªã„. 

      æ›¸å¼ãªã—ã®ãƒ‡ãƒ¼ã‚¿ã‚’F, FB ãªã©ã«å‡ºåŠ›ã™ã‚‹ã“ã¨ã¯, 
      FORTRAN ã®æ–‡æ³•ã¨ã®æ•´åˆæ€§ãŒæ‚ªã„ã®ã§, 
      ç¦æ­¢ã•ã‚Œã¦ã„ã‚‹ã‹, åˆ¶å¾¡ã‚³ãƒ¼ãƒ‰ã‚’å«ã‚€å½¢å¼ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã—ã¦æ‰±ã‚ã‚Œã‚‹
      ã“ã¨ã‚‚ã‚ã‚‹. 
      
      ã©ã¡ã‚‰ã«ã—ã¦ã‚‚, ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ–ãƒ­ãƒƒã‚¯é•·ãªã©ã‚’æŒ‡å®šã™ã‚‹ã¨ã„ã†ã“ã¨ã¯, 
      å˜ãªã‚‹FORTRANãƒ—ãƒ­ã‚°ãƒ©ãƒžã®çŸ¥è­˜ã‚’è¶Šãˆã¦, 
      ã‚·ã‚¹ãƒ†ãƒ&nbsp;ç®¡ç†è€…çš„ãªçŸ¥è­˜ãŒå¿…è¦ã¨ãªã‚Šé¢å€’ã§ã‚ã‚‹. 

      ã—ã‹ã—é€†ã«è¨€ãˆã°, ãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ã§è¡Œã†å‡¦ç†ã®æ€§è³ªã¨ã‚·ã‚¹ãƒ†ãƒ&nbsp;ã®ç‰¹æ€§ã®
      ä¸¡æ–¹ã‚’è€ƒæ…®ã—ã¦æ¥µé™ã¾ã§ãƒãƒ¥ãƒ¼ãƒ³ã‚¢ãƒƒãƒ—ã™ã‚‹ã“ã¨ãŒå¯èƒ½ã§ã‚ã‚‹. 
      å®Ÿéš›, ãƒ¡ã‚¤ãƒ³ãƒ•ãƒ¬ãƒ¼ãƒ&nbsp;ç³»ã®è¨ˆç®—æ©Ÿã§ã¯, 
      ãƒ–ãƒ­ãƒƒã‚¯é•·ãªã©ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®é¸ã³æ–¹ã§ã‹ãªã‚Šå‡¦ç†é€Ÿåº¦ã«å·®ãŒå‡ºã‚‹. 
    \end{quote}

  \item{\bf DIRECT ãƒ•ã‚¡ã‚¤ãƒ«}
    \begin{quote}
      DIRECT ãƒ•ã‚¡ã‚¤ãƒ«ã§ä½¿ãˆã‚‹ã®ã¯å›ºå®šé•·ãƒ¬ã‚³ãƒ¼ãƒ‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã&nbsp;ã‘ã§ã‚ã‚‹. 
      DIRECT ãƒ•ã‚¡ã‚¤ãƒ«ã¯ãƒ©ãƒ³ãƒ€ãƒ&nbsp;ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã“ã¨ãŒå¯èƒ½ãªã®ã§, 
      ãƒ–ãƒ­ãƒƒã‚¯åŒ–ãŒã§ããªã„. 
      ã—ãŸãŒã£ã¦, é&nbsp;†ç•ªã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ãªã‚‰ã°SEQUENTIALã®æ–¹ãŒæ—©ããªã‚‹. 

      ä¸€èˆ¬çš„ã«, ãƒ¡ã‚¤ãƒ³ãƒ•ãƒ¬ãƒ¼ãƒ&nbsp;ç³»ã®è¨ˆç®—æ©Ÿã§ã¯
      DIRECTãƒ•ã‚¡ã‚¤ãƒ«ã¯æ‰±ã„ã‚„ã™ããªã„ã®ã§, 
      ã‚ã¾ã‚Šä½¿ã‚ã‚Œã¦ã„ãªã„ã‚ˆã†ã§ã‚ã‚‹. 
    \end{quote}
\end{itemize}
%------------------------------- UNIX --------------------------------
\subsection{UNIXç³»}

UNIXç³»ã®è¨ˆç®—æ©ŸãŒæ‰±ã†ãƒ•ã‚¡ã‚¤ãƒ«ã¯
åŸºæœ¬çš„ã«å…¨ã¦å¯å¤‰é•·ãƒ¬ã‚³ãƒ¼ãƒ‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã§ã‚ã‚Š, 
è¡¨å‘ããƒ–ãƒ­ãƒƒã‚¯åŒ–ã¨ã„ã†æ¦‚å¿µã¯ãªã„. 
å®Ÿéš›ã«ã¯, ä½•ç­‰ã‹ã®ãƒ–ãƒ­ãƒƒã‚¯åŒ–ãŒè¨ˆç®—æ©Ÿå†…éƒ¨ã§è¡Œã‚ã‚Œã¦ã„ã‚‹ã‚‚ã®ã¨
æ€ã‚ã‚Œã‚‹ãŒ, 
ãã‚Œã¯, FORTRANãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ¬ãƒ™ãƒ«ã§ã¯ã‚ã‹ã‚‰ãªã„. 

\begin{itemize}
  \item {\bf SEQUENTIAL ãƒ•ã‚¡ã‚¤ãƒ«}
    \begin{quote}
      æ›¸å¼ã¤ãã®SEQUENTIAL ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯é€šå¸¸ã®ãƒ†ã‚­ã‚¹ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã¨åŒæ§˜ã«
      ãƒ¬ã‚³ãƒ¼ãƒ‰ã®çµ‚ã‚Šã«è¡Œæœ«è¨˜å·ãŒä»˜åŠ&nbsp;ã•ã‚Œã‚‹. 
      è¡Œæœ«è¨˜å·ã¯UNIXã§ã¯1ãƒã‚¤ãƒˆã§ LF, 
      MS-DOSã§ã¯2ãƒã‚¤ãƒˆã§ LF, CR ã§ã‚ã‚‹. 

      æ›¸å¼ãªã—ã®å&nbsp;´åˆã«ã¯, ãƒ¬ã‚³ãƒ¼ãƒ‰ã®æœ€åˆã¨çµ‚ã‚Š(ã¾ãŸã¯æœ€åˆã&nbsp;ã‘)ã«, 
      ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’èªè­˜ã™ã‚‹ä½•ç­‰ã‹ã®è¨˜å·ãŒä»˜åŠ&nbsp;ã•ã‚Œã‚‹. 
      ã“ã®è¨˜å·ã¯å‡¦ç†ç³»ã«ã‚ˆã£ã¦ã‹ãªã‚Šã“ã¨ãªã‚Š, 
      åŒã˜å†…éƒ¨ã‚³ãƒ¼ãƒ‰ã‚’æŽ¡ç”¨ã—ã¦ã„ã‚‹å&nbsp;´åˆã§ã‚‚äº’æ›æ€§ã¯ãªã„. 
    \end{quote}

  \item {\bf DIRECT ãƒ•ã‚¡ã‚¤ãƒ«}
    \begin{quote}
      DIRECT ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ãƒ¬ã‚³ãƒ¼ãƒ‰ã®é•·ã•ãŒæ±ºã£ã¦ã„ã‚‹ã®ã§, 
      ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’èªè­˜ã™ã‚‹ãŸã‚ã®è¨˜å·ãªã©ã¯ä»˜åŠ&nbsp;ã•ã‚Œãš, 
      æ±ºã£ãŸé•·ã•ã®ãƒ¬ã‚³ãƒ¼ãƒ‰ãŒã¤ãªãŒã£ãŸæœ€ã‚‚å˜ç´”ãªãƒ•ã‚¡ã‚¤ãƒ«ã¨ãªã‚‹. 
      (ã‚·ã‚¹ãƒ†ãƒ&nbsp;ã«ã‚ˆã£ã¦ã¯ãƒ•ã‚¡ã‚¤ãƒ«ã®å…ˆé&nbsp;­ã«å›ºæœ‰ã®ãƒ˜ãƒƒãƒ€ã‚’
      ä»˜åŠ&nbsp;ã™ã‚‹ã‚‚ã®ã‚‚ã‚ã‚‹. )

      ã—ãŸãŒã£ã¦, 
      å¤‰æ•°ã®å†…éƒ¨è¡¨ç¾ãŒåŒã˜ã§ã‚ã‚Œã°, ã»ã¨ã‚“ã©ã®è¨ˆç®—æ©Ÿã§äº’æ›æ€§ãŒã¨ã‚Œã‚‹. 
      ã•ã‚‰ã«, ã‚·ã‚¹ãƒ†ãƒ&nbsp;ã«ã‚ˆã£ã¦ã¯SEQUENTIALãƒ•ã‚¡ã‚¤ãƒ«ã«æ¯”ã¹ã¦, 
      å‡¦ç†é€Ÿåº¦ãŒåœ§å€’çš„ã«æ—©ã„å&nbsp;´åˆã‚‚ã‚ã‚‹. 

      UNIXç³»ã®è¨ˆç®—æ©Ÿã«ãŠã„ã¦ã¯, 
      ãŸã¨ãˆå˜ã«é&nbsp;†ç•ªã«ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’å‚ç…§ã™ã‚‹å&nbsp;´åˆã§ã‚‚, 
      åˆ©ç”¨ä¾¡å€¤ã®ã‚ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«å½¢å¼ã§ã‚ã‚‹. 
    \end{quote}
\end{itemize}


</pre></body></html>