Page 1 of 1

Error while load the data in sequential stage with jobpar

Posted: Wed Mar 19, 2008 11:59 am
by vinodn
Hi,

While using the job parameter as input file to read,at the time of compiling its ok,but at the time of running it gives the following error:

Unable to open E:/files#targetfile.txt#: No such file or directory [new-impexp\file_import.C:2469]

Sequential_File_0,0: Operator's runLocally() failed. [api\operator_rep.C:3891]


Regards,
Vinodn

Posted: Wed Mar 19, 2008 12:10 pm
by ArndW
Go back to your sequential file definition but use the drop-down button to paste your parameter name into the field - I think you have made a typographical error and mis-spelled your parameter name.

Posted: Wed Mar 19, 2008 12:12 pm
by chulett
You don't have a job parameter named "targetfile.txt" defined in the job. And I'm fairly certain parameter names are not allowed to have dots in them, change the name and see if that fixes things.

Posted: Wed Mar 19, 2008 5:24 pm
by ray.wurlod
Make sure that the parameter reference (the string between the "#" characters in the passive stage field) exactly matches the job parameter name (in the job properties dialog).

Posted: Wed Mar 19, 2008 8:01 pm
by chulett
Which is exactly what I meant - spelled the same, cased the same, yada yada. And the parameter name is obviously wrong just by the fact that they do not allow 'dots' in them... confirmed that today on the off chance I was misremembering that. :wink:

Posted: Thu Mar 20, 2008 12:27 am
by ray.wurlod
Maybe they are allowed in the RMM stage?
:?

Posted: Thu Mar 20, 2008 1:48 am
by ArndW
I took the easy way out - instead of attempting to explain I just recommended using the drop-down list of valid parameter names :)

Posted: Thu Mar 20, 2008 4:16 am
by vinodn
Hi All,


Thanx for ur feedback,i resolved this problem.



Regards,
vinodn

Posted: Thu Mar 20, 2008 8:02 am
by ray.wurlod
Then please mark the thread as Resolved, and post a message indicating what the problem was and what you did to fix it.