Hi all,
I have written a routine which fetches the data from text file and passes that value as a parameter to the job.I have called the routine in a routine activity and passed that result to the job as parameter like this routine_stagename$returnvalue. the routine code is
OpenSeq Filepath To FileVar
On Error Call DSLogWarn("Cannot open ":FileVar, "max")
Then ReadSeq FileLine From FileVar
On Error Call DSLogWarn("Error from ":FileVar: " status=":Status(),"max")
Then
Ans = Trim(FileLine)
End
but i am getting the following error
INCR_SEQUENCER..JobControl (@Routine_Activity_0): Controller problem: Unhandled failure (0001k27e) encountered calling routine DSU.max
Note:0001k27e is the data fetched form the text file
comments appreciated
Thanks in advance
problem encountered in a routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 26
- Joined: Thu Feb 03, 2005 1:05 am
You might not want to use FileVar, but rather use FilePath (in your DSLogWarn) since FileVar is a handle to the file you just opened.
Mike Hester
mhester@petra-ps.com
mhester@petra-ps.com
Put a call DSLogInfo('Entering MAX Routine','') in your routine; I think your error is not being generated from where you think it is.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 26
- Joined: Thu Feb 03, 2005 1:05 am
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom