/OVERLOAD DETAIL | NODETAIL

The parameter for the /OVERLOAD directive can be DETAIL or NODETAIL.

Specify DETAIL if you want to see detailed information in the listing about calls to overloaded prototypes in statements following the directive.

Specify NODETAIL if you do not want to see detailed information in the listing in the statements following the directive.

Any calls specified before any /OVERLOAD directives will not have detailed information in the listing.

Note: You can specify the /OVERLOAD directive repeatedly, with the same parameter or with a different parameter. For a particular calculation statement, the most recent /OVERLOAD directive is in effect.

In the following example, the calls to the candidate prototype on statements 13, 15, 16, and 23 will have detailed information in the "Overloaded Prototypes" section.


   ...
 7 DCL-PR ov1 OVERLOAD(p1 : p2 : p3);
 8
 9 ov1 ('a');
10 /OVERLOAD NODETAIL
11 ov1 ('b');
12 /OVERLOAD DETAIL
13 ov1 ('c');
14 /OVERLOAD DETAIL
15 ov1 ('d');
16 ov1 ('e');
17 /OVERLOAD NODETAIL
18 ov1 ('f');
19
20 dcl-proc p1;
21    ov1 ('g');
22    /OVERLOAD DETAIL
23    ov1 ('h');
   ...

See The "Overloaded Prototypes" section in the compiler listing for information on overloaded prototypes and an example of the details provided in the "Overloaded Prototypes" section of the listing when you specify /OVERLOAD DETAIL.