IB Statements/file
From CometWiki
< IB Statements(Difference between revisions)
(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...) |
|||
(One intermediate revision not shown) | |||
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 |
- | 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.