View previous topic :: View next topic |
Author |
Message |
vihv Beginner
Joined: 16 Apr 2007 Posts: 11 Topics: 4
|
Posted: Mon Apr 30, 2007 3:32 pm Post subject: cics tran & cics task |
|
|
Hey there, how to get the cics task Id ? |
|
Back to top |
|
|
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue May 01, 2007 2:52 am Post subject: |
|
|
Which task? Your own or another task? From where, CICS or batch? |
|
Back to top |
|
|
vihv Beginner
Joined: 16 Apr 2007 Posts: 11 Topics: 4
|
Posted: Tue May 01, 2007 10:31 am Post subject: |
|
|
your own task..I guess I found it. it's in the eibtrnid for the transaction id and maybe the task will be in the same kind of variable...
Now, I have a cics program scheduled to run every certain time, is the same task id assigned to it every time it runs? |
|
Back to top |
|
|
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue May 01, 2007 11:19 am Post subject: |
|
|
Quote: |
EIBTASKN contains the task number assigned to the task by CICS. This number appears in trace table entries generated while the task is in control. The format of the field is packed decimal.
|
Quote: |
EIBTRNID contains the symbolic transaction identifier of the task.
|
You are mixing thinsg up a little with the term "task id"....Each time your program is started, the same transaction id will be used but a different task number will be created each tiime. |
|
Back to top |
|
|
vihv Beginner
Joined: 16 Apr 2007 Posts: 11 Topics: 4
|
Posted: Tue May 01, 2007 12:51 pm Post subject: |
|
|
got it tnks |
|
Back to top |
|
|
|
|