Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Job Session Id

Hi,

 

Is there a way to retrieve and store in a variable (if exist) the Job's session id? I suppose that every time I run a Job must exist the id of the current running session.

 

Thank you in advance!

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

tLogCatcher gives you this information

View solution in original post

8 Replies
TRF
Champion II
Champion II

tLogCatcher gives you this information
Jesperrekuh
Specialist
Specialist

 

in example in tMap you use :   pid     ... and is the (Talend) job process id chars (not the process nr like you do with ps -ef ) :

 

pid

 

 

 

Anonymous
Not applicable
Author

But, how can I store pid in a variable?

TRF
Champion II
Champion II

@Dijke is right, you have a native Talend variable which contains the same information.

Here is how to use it in a tMap component:

0683p000009LzJK.png

Here is how it's displayed on the Console with tLogRow:

[statistics] connecting to socket on port 3524
[statistics] connected
6oLEAP
[statistics] disconnected
Anonymous
Not applicable
Author

Thank you! Can I pass pid as parameter by calling a stored procedure?

TRF
Champion II
Champion II

I think so

Anonymous
Not applicable
Author

How to change the process id in the tstatCatcher.

Anonymous
Not applicable
Author

How to change a process id in tstatcatcher..