× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I might be able to get you started.  Over in
http://www.iseriesnetwork.com/resources/code/misccode/cobolcode/
there is a downloadable labeled: Standardizes and colorizes Cobol source
It is a routine that we use in-house.  It parses cobol out and extracts the
reserved words separately.  There is a readme with it and all the source
(ILE cobol and clle and cmd) that goes with it.  Have fun!

> -----Original Message-----
> From: cobol400-l-admin@midrange.com
> [mailto:cobol400-l-admin@midrange.com]On Behalf Of Kelly Cookson
> Sent: Thursday, March 21, 2002 7:35 AM
> To: cobol400-l@midrange.com
> Subject: reading source code
>
>
> Hi.
>
> I would like to try my hand at developing some
> programs to analyze COBOL-400 source code. We store
> the source code for each COBOL program as a member in
> a source physical file.
>
> What would be the best way for me to access the source
> code for analysis?  Is there any way to READ a member
> in a source physical file?  Is there any way to save a
> member as a data physical file (e.g., a flat file with
> one line of source code being one record)?
>
> I'd appreciate any ideas.
>
> Thanks,
>
> Kelly Cookson
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
> _______________________________________________
> This is the COBOL Programming on the iSeries/AS400 (COBOL400-L)
> mailing list
> To post a message email: COBOL400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/cobol400-l
> or email: COBOL400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/cobol400-l.
>



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-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.