Ah ha!  Thanks Bryan!  That'll do it, I think. I'll write a wrapper for that
command and process the CL's that-a-way.

Cool beans!

Shannon O'Donnell



----- Original Message -----
From: <bdietz@xxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, May 07, 2003 11:49 AM
Subject: Re: Batch Formatting of CL Code


>
>
>
>
> I seem to remember a thread that spoke about using QCAPCMD.
>
> http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/qcapcmd.htm
>
>
> -------------------------
>  Bryan Dietz
> 3X Corporation
> 614-410-9205
> >
> > 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)
> >
> > Does anyone remember this or have access to that utility or something
> > similar?  I need to format a bunch of CL source members.
>
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.