IB Statements/file
From CometWiki
< IB Statements(Difference between revisions)
Line 11: | Line 11: | ||
'''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 |
- | setting the delimiter string | + | ::setting the delimiter string |
- | moving the file pointer in a disk file | + | ::moving the file pointer in a disk file |
- | setting various control functions | + | ::setting various control functions |
- | changing the direction of the file pointer to forward or reverse | + | ::changing the direction of the file pointer to forward or reverse |
- | Reading or writing comma delimited files. | + | ::Reading or writing comma delimited files. |
Latest revision as of 09:10, 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
- FILE (lun) DLM=delimiter-string
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.