Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Task has ended normally or abnormally using its TCB info

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Mon Jun 23, 2008 12:43 pm    Post subject: Task has ended normally or abnormally using its TCB info
Reply with quote

Hi all,

i am currently facing a problem in multitasking. i wanted to know how to know abt whether a task has ended normally or abnormally using its TCB info ?? is ther any flag in tcb for abend info ??

can anybody help ??

Thanks,
Girish
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Mon Jun 23, 2008 2:30 pm    Post subject: Reply to: Task has ended normally or abnormally using its TC
Reply with quote

the question is a bit unclear...

could You please describe a bit Your environment
ant tell at what point in processing You want to find out about the abend

thanks icon_smile.gif
Back to top
View user's profile Send private message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Mon Jun 23, 2008 2:33 pm    Post subject: Reply to: Task has ended normally or abnormally using its TC
Reply with quote

HI,

i am trying multitasking operation . creating tasks using ATTACH macro.
suppose a main task has created such 10 subtasks, i want to know tht whether those subtasks are ended normally or abnormally ...

Thanks,
Girish
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Mon Jun 23, 2008 2:44 pm    Post subject: Reply to: Task has ended normally or abnormally using its TC
Reply with quote

All depends on how sophisticated is Your program structure...

if You look at the attach/attachx macro description
You will notice ....

Quote:
,ETXR=exit rtn addr
Specifies the address of the end-of-task exit routine to be given control after the new task is normally or abnormally terminated. The exit routine receives control when the originating task becomes active after the subtask is terminated, and must be in virtual storage when required. If you code this parameter, you must issue a DETACH macro to remove the subtask from the system after the subtask terminates.
Back to top
View user's profile Send private message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Mon Jun 23, 2008 6:29 pm    Post subject: Reply to: Task has ended normally or abnormally using its TC
Reply with quote

Thanks for the info.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need info on EIBCPOSN value in IBM FA... subratarec CICS 11 Wed Jul 12, 2017 3:45 pm
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Need info with DBRC recovery ashek15 IMS DB/DC 0 Mon Jan 23, 2017 6:43 am
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Utility to extract dsn info from conc... Lynne Schuler PL/I & Assembler 12 Tue Jan 26, 2016 6:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us