0 votes
24 views
in TPF by (47 points)

What is child ECB? How do you create it?

1 Answer

0 votes
by (61 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 (323 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
1 answer
26 views
+1 vote
1 answer
29 views
+1 vote
1 answer
20 views
asked May 14 in TPF by Derya (47 points)
+1 vote
2 answers
31 views
+1 vote
1 answer
31 views
+1 vote
1 answer
33 views
0 votes
0 answers
10 views
asked May 14 in TPF by Derya (47 points)
0 votes
0 answers
8 views
asked May 14 in TPF by Derya (47 points)
0 votes
0 answers
23 views
asked May 14 in TPF by Derya (47 points)
0 votes
1 answer
10 views
...