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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
Search our Forums:

Back to Top