| United States-English |
|
|
|
![]() |
Using KSAM XL and KSAM 64: 900 Series HP 3000 Computer Systems > Chapter 3 Obtaining File InformationAccessing File Information from a Program |
|
The FGETINFO intrinsic obtains a file's access and status information based on the parameters identified in the intrinsic call. Embedded parameters that are not desired are indicated by commas. Parameters omitted from the end of the list do not need to be indicated. In the following example, the intrinsic call returns the end of file in the variable named LSTREC. This number represents the physical number of the last record in the file if the REUSE option has not been specified. This variable can be used to position a pointer to read the last physical record with the FREADC or FREADDIR intrinsic.
The FGETINFO intrinsic returns the following file information.
|
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||