skip to main content

Library Routines : S$IO : S-MAKE-FUNCTION

S-MAKE-FUNCTION
This function creates a new sequential file. It overwrites any existing file of the same name unless they’re in use. If the file is in use, the function fails.
Syntax:
 SET S-MAKE-FUNCTION TO TRUE
 CALL "S$IO" USING SIO-FUNCTION
           GIVING returnCode
Parameters:
Maximum record size. This is the size in bytes of the largest record to be placed in the file. This can range from 1 to 67,108,864.
File type. This must be a single byte containing a binary value that indicates the type of the file. You should use the same values as described in S-OPEN-FUNCTION.
Block size. This is the size of a block of records.
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left