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
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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