IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Task has ended normally or abnormally using its TCB info


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 23, 2008 2:30 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 23, 2008 2:44 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Started task using a generation dataset JCL & VSAM 7
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CICS region is terminated abnormally ... CICS 2
No new posts Run a simple JOB as Started Task All Other Mainframe Topics 4
No new posts in REXX,how to get sysprt info CLIST & REXX 9
Search our Forums:

Back to Top