IB Statements/file

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: FILE statement Syntax: FILE (lun) BUF=buffer-size FILE (lun) DLM=delimiter-string FILE (lun) POS=file-position FILE (lun) CTL=control-parameter FILE (lun) FORWARD FILE (lun) REVERSE FILE...)
Line 1: Line 1:
-
FILE statement  
+
'''FILE statement'''
-
Syntax:  FILE (lun) BUF=buffer-size
+
'''Syntax:''' FILE (lun) BUF=buffer-size<br>
-
FILE (lun) DLM=delimiter-string
+
::FILE (lun) DLM=delimiter-string<br>
-
FILE (lun) POS=file-position
+
::FILE (lun) POS=file-position<br>
-
FILE (lun) CTL=control-parameter
+
::FILE (lun) CTL=control-parameter<br>
-
FILE (lun) FORWARD
+
::FILE (lun) FORWARD<br>
-
FILE (lun) REVERSE
+
::FILE (lun) REVERSE<br>
-
FILE (lun) CSV
+
::FILE (lun) CSV<br>
   
   
-
Discussion:  The FILE statement is used for several purposes, including:  
+
'''Discussion:''' The FILE statement is used for several purposes, including:  
setting the buffer size for an asynchronous device  
setting the buffer size for an asynchronous device  

Revision as of 09:09, 20 May 2009

FILE statement Syntax: FILE (lun) BUF=buffer-size

FILE (lun) DLM=delimiter-string
FILE (lun) POS=file-position
FILE (lun) CTL=control-parameter
FILE (lun) FORWARD
FILE (lun) REVERSE
FILE (lun) CSV


Discussion: The FILE statement is used for several purposes, including:

setting the buffer size for an asynchronous device

setting the delimiter string

moving the file pointer in a disk file

setting various control functions

changing the direction of the file pointer to forward or reverse

Reading or writing comma delimited files.

Personal tools