file built-in functions
search cancel

file built-in functions

book

Article ID: 92931

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction



Usage of some build in functions. 
For exemple, how to read a flag file containing 2 dates inside a file with the javascript function for files: file_readLines(<FILENAME>) but it returns an empty string. 
Also file_canRead('filePath') return False. 

Environment

Release:
Component: DSRIES

Resolution

The issue was because of the path used in the script, path is not present in the server installed machine, for these file functions to work, the file must reside on the same computer as the server