FOPTNUM Function: z/OS

Returns the number of information items that are available for an external file.
Category: External Files
z/OS specifics: Return value
See: FOPTNUM Function in SAS Functions and CALL Routines: Reference



Required Argument

specifies the identifier that was assigned when the file was opened (generally by the FOPEN function).


Currently, the number of information items available for a sequential file, a PDS member, and a UNIX System Services file is 7.
For code examples, see FINFO Function: z/OS.