SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.ReadTextFile()
(SBM On-Premise only) Opens, reads, and closes a file.
Parameter | Type | Description |
---|---|---|
fileName |
string |
Specifies a fully-qualified path and file name. The fileName can be any valid file path, including a path to a network device. Note: This function may fail due to permissions
settings. Verify that accounts that will execute the script have permission to
read the destination file.
|
Type | Description |
---|---|
string |
Returns string holding entire contents of file referred to by fileName. |
SBM ModScript version: 11.3.
Concurrent scripts can read the same file simultaneously.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.