At 10:08 PM 2/15/2001, Wayne R. Boyer wrote:
>If I understand the comment correctly, that's something that I've done many
>many times. COBOL paragraphs in the COPYLIB are a quick way to create a
>pseudo-subroutine. I have a rule that only COMPLETE paragraphs are put in
>the COPYLIB though. That way PERFORM PARAG-A works almost like CALL
>"SUBROUTINEA".
>
>I do convert the more complex chunks of logic into standard subroutines
>though.
>
>Wayne Boyer
The advantage to using macros instead of paragraphs is having parameters
that you can directly pass either as literals or variables (if properly
defined) and you can't do that with a paragraph of actual code.
Regards,
Shawn Gordon
President
theKompany.com
www.thekompany.com
949-713-3276