The #ATTACH statement instructs the system to initiate a new task by acquiring the necessary task control elements (TCEs) and storage and by adding the task to its dispatching list. The issuing program retains processing control; the system simply initializes the attached task and gives it processor time according to its established priority. (Note that task code priorities established during system generation can be overridden by the #ATTACH or #CHAP statements.) The #ATTACH may optionally designate an ECB upon which initial execution of a new task will depend.
|
Copyright © 2014 CA.
All rights reserved.
|
|