Question & Answer
Question
How do you get a list of DataStage jobs at version 8.x and later that are running similar to the output from the version 7.x LIST.READU EVERY command Item-ID column?
Cause
Version 7.x LIST.READU EVERY command Item-ID column displayed the job name (job name is SampleDataStageJob):
>LIST.READU EVERY
Active Group Locks: Record Group Group Group
Device....Inode....Netnode Userno Lmode G-Address Locks...RD...SH...EX
2621442 1073600 0 61088 27 IN 1000 1 0 0 0
2621442 125088 0 61088 67 IN 800 1 0 0 0
2621442 130152 0 12 87 IN 800 1 0 0 0
Active Record Locks:
Device....Inode....Netnode Userno Lmode Pid Login Id Item-ID......
2621442 1073600 0 61088 27 RU 73812 dsadm SampleDataStageJob
2621442 125088 0 61088 67 RU 73812 dsadm
5E312937-A753-4CDF-96D2-BA9B1ED2C045-IBM-CDD546C803F:1773812
2621442 130152 0 61088 87 RL 73812 dsadm PROJECT&!DS.ADMIN!&
Version 8.x LIST.READU EVERY command Item-ID column does not display the job name:
>LIST.READU EVERY
Active Group Locks: Record Group Group Group
Device....Inode....Netnode Userno Lmode G-Address Locks...RD...SH...EX
655373 114703 0 11 61 IN 800 1 0 0 0
Active Record Locks:
Device....Inode....Netnode Userno Lmode Pid Login Id Item-ID......
655373 114703 0 65042 61 RL 94542 dsadm Userid&!DS.ADMIN!&
Answer
To get a list of DataStage jobs that are running use a command similar to the following UNIX command:
ps -ef | grep DSD.RUN
For example,
>ps -ef | grep -v grep | grep DSD.RUN
username 664 2612 0 14:28:38 con 0:00 E:\IBM\InformationServer\Server\DSEngine/bin/uvsh DSD.RUN pxGenSample 0/0/1/0/0/0/0
In the example above the name of the job is pxGenSample
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21616004