While i am executing the code without specifying domain, ASL is giving following error
ASL-ERROR_CREATE-While attempting to create the object 'ACT_File::New-file'
CI-EGENERIC-ACT_File
MR-CLASS_NOT_FOUND-Class of given name not found
and while i am executing the code with specifying domain, ASL also is giving following error
ASL-ERROR_INVOKE-While attempting to invoke operation 'fileName' of object
'ACT_File::New-file'
SVIF-EREMOTE-CI-E-EGENERIC-fileName
. MR-OPERATION_NOT_FOUND-Specified operation not found in class
Is there are way out? Also strugling with to read a file whthin ASL script not from the command line --outout filefrom. Is there any function available to read a file from ASL script?
bkuhhirte
52 Posts
365
0
Posted August 15th, 2008 04:00
The primary method used to output text to a file in ASL is by using the ACT_File object:
fileObj = create("ACT_File","New-file");
fileObj->fileName("test.out");
fileObj->write("This is a same blob of text");
fileObj->writeln("This is a line of output");
Regards,
Bill