Search found 258 matches

by samyamkrishna
Mon Aug 08, 2011 1:55 am
Forum: General
Topic: Jobs Status Report
Replies: 30
Views: 14823

you can suppress it


/opt/app/dstage/DataStage752/Ascential/DataStage/DSEngine/bin/dsjob -server servname-user unam -password pwd -jobinfo $job_name PRJDEV | grep FAILED>/dev/null | grep -v "Status code = "
by samyamkrishna
Mon Aug 08, 2011 1:27 am
Forum: General
Topic: Jobs Status Report
Replies: 30
Views: 14823

I am running the same code on my system.
its working fine here.
by samyamkrishna
Mon Aug 08, 2011 1:04 am
Forum: General
Topic: Jobs Status Report
Replies: 30
Views: 14823

Hey Pandeesh,


Sorry my bad.

What you are doing in the script is correct.
What is going wrong when you run it?
by samyamkrishna
Mon Aug 08, 2011 12:57 am
Forum: General
Topic: Jobs Status Report
Replies: 30
Views: 14823

So you want only the job name in the file right?
by samyamkrishna
Mon Aug 08, 2011 12:47 am
Forum: General
Topic: Jobs Status Report
Replies: 30
Views: 14823

$? just says that the previous command was executed sucessfully or not.

It will alwas give 0 for your command because the command was executed sucessfully.

Can you please let me know why you are using the if condition.
based on what you want you might have to handle it differently.
by samyamkrishna
Fri Jul 15, 2011 5:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to implement the logic
Replies: 1
Views: 1222

Re: Need to implement the logic

try vertical pivot.

serach the forum you will get it
by samyamkrishna
Thu Jul 14, 2011 3:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating many output files
Replies: 10
Views: 4675

Re: creating many output files

you can do this dataset ----- transformer--------seqfile in a transformer If [condition 1] Then "echo ":inputlink.col1: inputlink.col2:inputlink.col3...:">/directorey/file1.txt" else If[ condition 2] Then "echo ":inputlink.col1: inputlink.col2:inputlink.col3...:">/...
by samyamkrishna
Mon Jul 11, 2011 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New line character issue for sequential file stage
Replies: 17
Views: 13755

Re: New line character issue for sequential file stage

Hi,

You can create a wrapper stage

having this tr "\n" "abc" and pass all the column through the wrapper.

Regards,
Samyam
by samyamkrishna
Fri Jul 08, 2011 9:24 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

Thanks a lot craig. :)
by samyamkrishna
Fri Jul 08, 2011 8:03 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

Hi, I have modified the sequence. a sequencer in between with any and triggers OK conditional and the other trigger otherwise. Now I ran it with "automatically handle activities that fail " checked. same issue. and yes i am using jobstatus. so changing it to -wait instead of -jobstatus wil...
by samyamkrishna
Fri Jul 08, 2011 7:34 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

Hi Craig, I tried what you said. unchecked "automatically handle activities that fail " Then did a fresh run. Execute command worked fine the next activity failed. Restarted the sequence It did not skip the Execute Command but it ran the dsjob command in the execute command activity. Or i ...
by samyamkrishna
Fri Jul 08, 2011 3:54 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

Hi,

Everything checked

add checkpoint
log warning after activities that finish with not OK
aoutomaticaly handle activities that fail
log report messages after each job run

But there is no unhandles exception
by samyamkrishna
Thu Jul 07, 2011 11:27 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

I am not getting any error.
But i do not want the execcmd activity to run again thats all.


What should i search for.
sequence restartablilty?
by samyamkrishna
Thu Jul 07, 2011 8:11 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 12031

Hi, with the exec command activity the job runs fine. but there is one issue. execcmd---------jobactivity1-------------jobactivity2 now in the first run the execcmd runs fine, but the jobactivity1 fails. then when we restart the job from director. it shoud start from jobactivity1. but actually when ...