Guardian Procedure Calls Reference Manual

ALTER Procedure (Superseded by FILE_ALTERLIST_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Function Codes
Considerations
OSS Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The ALTER procedure changes certain attributes of a disk file that are normally set when the file is
created.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
CALL ALTER ( file-name ! i
,function ! i
,newvalue ! i
,[ partonly ] ); ! i
Parameters
file-name
input
INT:ref:12
is an array containing the internal-format file name of the disk file to be altered.
function
input
INT:value
is a value specifying what characteristic of the file is to be changed. See Function Codes
(page 65).
newvalue
input
INT:ref:*
is an integer array supplying the new value for the characteristic specified by function. Its size
is dependent on the operation. See Function Codes (page 65).
64 Guardian Procedure Calls (A-B)