I have requirement to return the value to console .I mean when i call the job .bat file from command line it should return a
value..Trying to use t java component no success.
Reading a value from database and i want to return it to command line.Any suggestion to use which componenet
Thanks in advance
You may use tDie with a return code.
In your case, push the result of your select into a global variable, then set the return code using this global variable. It should like:
Yes, it different angle for view
all depends how to read:
Reading a value from database and i want to return it to command line
tDie - kill Job and return only 1 value, but it could be used in script logic
if value more than 1 and Job must just display value and continue - need print
could You attach some screenshots of Your Job (code)?
as You can see from screenshots it work
I normally store output direct to log file, so not often use print to console, but it work
Here are the screen shot ,Value is not returning on to console .I have tried in unix and windows.
when i run from studio i do get retrun value
looks like i am missing some option