×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Except that you loose comments that may have been in the code.  (unless that
has changed since last I used it.)


 -----Original Message-----
From:   midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]  On Behalf Of Dan
Sent:   Wednesday, May 07, 2003 12:44 PM
To:     Midrange Systems Technical Discussion
Subject:        Re: Batch Formatting of CL Code

Sure.

Compile the CL source
RTVCLSRC

Personally, I'd rather have a utility that reformats the source so that the
parameters line up
nicer, something like you see in the code that iSeriesNetwork does (maybe
only certain authors?)

I do a lot of manual formatting.

HTH, Dan

--- Shannon O'Donnell <sodonnell@xxxxxxxxxxxxxxx> wrote:
>
> I remember seeing a tip or utility somewhere a few years ago that would
take
> in a CL program source member and format the DCL statements to make them
all
> consistent.  For example, if you had lines such as:
>
>  DCL   &MYVAR  *DEC 10 2
>  DCL   &MYVAR2 *CHAR 11
>
> It would format it as:
>
> DCL  VAR(&MYVAR) TYPE(*DEC) LEN(10 2)
> DCL VAR(&MYVAR2) TYPE(*CHAR) LEN(11)
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.