DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
just4u_sharath



Group memberships:
Premium Members

Joined: 01 Apr 2007
Posts: 236
Location: Michigan
Points: 2022

Post Posted: Thu Feb 22, 2018 12:31 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Hello,
I am trying to list all the sequencer jobs that uses the FTP_EPSILON_HOST user defined environmental variable.

I asked the Admin to run the below command but it did not list any sequecers even though we have many jobs.

DS_JOBS WITH JOBTYPE = 2 AND EVAL "TRANS('DS_JOBOBJECTS','J\':@RECORD<5>:'\ROOT',14,'X')" LIKE FTP_EPSILON_HOST

http://www-01.ibm.com/support/docview.wss?uid=swg21618535

Please correct me if there is any issue with the command.

Thanks
rkashyap



Group memberships:
Premium Members

Joined: 02 Dec 2011
Posts: 518
Location: Richmond VA
Points: 4665

Post Posted: Thu Feb 22, 2018 5:29 pm Reply with quote    Back to top    

Try
Code:
LIST DS_JOBS WITH JOBTYPE = 3 AND EVAL "TRANS('DS_JOBOBJECTS','J\':@RECORD<5>:'\ROOT',14,'X')" LIKE ...FTP_EPSILON_HOST...
Rate this response:  
Not yet rated
rkashyap



Group memberships:
Premium Members

Joined: 02 Dec 2011
Posts: 518
Location: Richmond VA
Points: 4665

Post Posted: Thu Feb 22, 2018 5:51 pm Reply with quote    Back to top    

Alternatively, if you are using Operations Console, then you can modify following query to get the desired result
Code:
SELECT
       H.HostName
     , J.ProjectName
     , J.JobName
     , P.ParamName
     , P.ParamValue
     , R.InvocationId
     , R.RunStartTimeStamp
     , R.ElapsedRunSecs
FROM 
       DSODB.JobExec J
     , DSODB.JobRun R
     , DSODB.Host H
     , DSODB.JobRunParamsView P
WHERE  H.HOSTID = J.HOSTID
  AND  R.JOBID = J.JOBID
  AND  R.RUNID = P.RUNID
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours