0 votes
30 views
in TPF by (87 points)

What is child ECB? How do you create it?

1 Answer

0 votes
by (63 points)
child ecb is created when the control transfer to another ecb which was created by parent ecb, mostly by cremc, creec, or cretc calls
by (325 points)
It's very often needed to subdivide a task and entrust the function to multiple processes.

This is to achieve multi threading, which will result in faster execution and response time.

TPF achieves this by a set of macros that can create ECBs.

Once an ECB is created by TPF, the ECB is totally independent from the parent.

The only association is the CE1TRC field which will have the parent program name.

The parent can pass information through work areas.

Some deviants allow passing core blocks.

Different macros permit putting the ECBs in different lists.

CREATE ECB with CRETC, CREMC,CREDC,CREXC,CREEC

Related questions

+1 vote
33 views
asked May 14, 2019 in TPF by Derya (87 points)
+1 vote
32 views
asked May 14, 2019 in TPF by Derya (87 points)
+1 vote
22 views
asked May 14, 2019 in TPF by Derya (87 points)
+1 vote
38 views
asked May 29, 2019 in TPFDF by param1987 (45 points)
+1 vote
44 views
asked May 14, 2019 in TPF by Derya (87 points)
+1 vote
40 views
asked May 14, 2019 in TPF by Derya (87 points)
...