MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cics tran & cics task

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
vihv
Beginner


Joined: 16 Apr 2007
Posts: 11
Topics: 4

PostPosted: Mon Apr 30, 2007 3:32 pm    Post subject: cics tran & cics task Reply with quote

Hey there, how to get the cics task Id ?
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue May 01, 2007 2:52 am    Post subject: Reply with quote

Which task? Your own or another task? From where, CICS or batch?
Back to top
View user's profile Send private message
vihv
Beginner


Joined: 16 Apr 2007
Posts: 11
Topics: 4

PostPosted: Tue May 01, 2007 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue May 01, 2007 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
vihv
Beginner


Joined: 16 Apr 2007
Posts: 11
Topics: 4

PostPosted: Tue May 01, 2007 12:51 pm    Post subject: Reply with quote

got it tnks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group