Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us