Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Use your PC to analyse the mainframe COBOL Program

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics
View previous topic :: :: View next topic  
Author Message
dr_te_z

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Mon Jun 18, 2007 12:47 pm    Post subject: Use your PC to analyse the mainframe COBOL Program
Reply with quote

Yeah, I know: a PC is only usefull as a driver for your 3270-emulation program... But sometimes you get large-old programs, whit a lot of old-code commented out (not allowed to delete (company standard)) then the PC can be of any help.

Make an extraction of your source omitting all the comments and numbering
Code:

  SORT   FIELDS=COPY                     
  OMIT     COND=(07,01,EQ,C'*',OR,       
                 07,01,EQ,C'/'),FORMAT=CH
  OUTREC FIELDS=(6X,07,66,8X)           
  END                                   
and bring the result to the pc as a *.cbl file.

Download this http://ynohoo.braindog.org/CobTree/ and you have a free-usefull tool to analyse the code. You've got a nice overview of the sections/paragraps and with a "find" command you're not confronted with "history lessons" (= commented old source).

When you really miss those syntax colors, try this http://www.jedit.org/ it does support cobol syntax colors by default.
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us