Issue in using file path in Routine
Posted: Tue Jan 22, 2013 5:07 am
Hi,
I have a routine which opens a file if it exists else it creates one.
Note: This is only a part of actual routine
This routine works fine if the file "EndDateFile" is present/created at Account name. But if I define a path in the routine ("/Data/Dev/EndDateFile"), it doesn't work.
I get the error:
Subroutine failed to complete successfully (30107)
Please help me to solve the issue.
Thanks,
dxk9
I have a routine which opens a file if it exists else it creates one.
Note: This is only a part of actual routine
Code: Select all
If NOT(Initialized) Then
* Not initialized. Attempt to open the file.
Initialized = 1
Open "EndDateFile" TO StopDateFile Else
* Open failed. Create the sequence file.
EXECUTE "CREATE.FILE EndDateFile"
Open "EndDateFile" TO StopDateFile Else Ans = -1
End
End
I get the error:
Subroutine failed to complete successfully (30107)
Please help me to solve the issue.
Thanks,
dxk9