ODI variables and Jython scripts


It is possible to pass the file or name of the file to jython without hardcoding it into the jython procedure.


The following is an example


fsrc=open('#Myvar.txt','r')
fsrc=open('#Myvar_new.txt','r')


Make sure that you are using expression editor to write variable

No comments:

Post a Comment

Note: only a member of this blog may post a comment.