Page 1 of 1

wrapper stage failing

Posted: Wed Jun 09, 2010 6:24 am
by vasam
Hi All,

In my job we are using wrapper stage to listout all the files in particular directory.

when i am executing my job i am getting below error.

Wrapper printed bad property list: Expected "{", got: <eof>, line 2; stdout text: ##E IIS-DSEE-TOSH-00385 21:55:38(039) <main_program> Exec(ls.op) failed: No such file or directory

I ran this job in dev ,it ran succfully. but in SIT its throwing above error.

Please suggest me what are all things i need to do to resolve this issue

Thanks in Advance,
Vijay

Posted: Wed Jun 09, 2010 6:48 am
by chulett
"No such file or directory" seems pretty clear and should be the first thing to check.

Posted: Wed Jun 09, 2010 6:54 am
by vasam
Thanks for your reply,

ls.op file is exist in /opt/IBM/InformationServer/Server/Projects/CBMDR_PRT/wrapped directory.

Eventhough its giving error.

Thanks,
Vijay

Posted: Wed Jun 09, 2010 6:56 am
by ArndW
What about access rights to the directory and its contents (for the userid that you are running DataStage under)? Try temporarily changing the access to 777 to see if this might be the cause.

Posted: Wed Jun 09, 2010 4:30 pm
by ray.wurlod
The directory in which ls.op is exists, but what about the directory it's meant to be listing? Does that exist and do you have requisite permission to it and its parents?

Re: wrapper stage failing

Posted: Tue Feb 22, 2011 7:11 am
by Leedor
Hi All,

We just came across this error too and it turned out to be one of the developers sending the .op file to the server in binary mode instead of ascii thereby leaving in control characters.

Hope that helps someone someday.

Lee