IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Use your PC to analyse the mainframe COBOL Program


IBM Mainframe Forums -> FAQ & Basics
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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 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 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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts Compile Sp Cobol base COBOL Programming 1
Search our Forums:

Back to Top