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

Prepare a report to increase readability


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivakumar somala

New User


Joined: 26 Sep 2007
Posts: 10
Location: Mumbai

PostPosted: Thu Sep 11, 2014 5:16 pm
Reply with quote

Hi All,

I have coded a rexx program to compare the source and load library to see the differences and get a comparision report. For that I have run Super search in batch mode through JCL.

Now I am planning to prepare a report to increase readability and easily understandable. Sample format shown below.


Code:
Program Promoted     When          By Whom           #of Line Changed
MYPROG1              01/01/2014    USER1             10
MYPROG2              17/01/2014    USER2             20
MYPROG3              31/01/2014    USER3             30
MYPROG4              01/02/2014    USER1             40


Request your suggestions and expert commands to acheive this.

Thanks in advance for all your help..!

-Siva
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2545
Location: Silicon Valley

PostPosted: Thu Sep 11, 2014 9:20 pm
Reply with quote

Quote:
a rexx program to compare the source and load library to see the differences


My suggestion is to compare the current code with the past code. You have to archive the previous version of the file.

I do not think you can easily compare two load libraries to find out what changed.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2545
Location: Silicon Valley

PostPosted: Sat Sep 13, 2014 1:39 am
Reply with quote

Quote:
... rexx program to compare the source and load library to see the differences...

It is not possible to compare source program to load module.

But what I have seen frequently is to have an 'eyecatcher' constant in the source, perhaps something like:
Code:
"MYPROG1 2014.09.12 V01"

Some programs have a chain of defect numbers so that you can tell what service is included.

Whenever you make a change to the code, you have to change the eyecatcher. You can compare the source code eyecatcher to the load module eyecatcher or to the eyecatcher found in a dump. In that way, you can be sure that you are not testing a backlevel version of the program.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Wed Sep 17, 2014 12:28 am
Reply with quote

SuperCompare can produce an overview report that gives statistics of changes for each member. It is very readable. Below is jcl to run such a report
Code:
//SUPERC  EXEC PGM=ISRSUPC,
//        PARM=(OVSUML,LINECMP,'COBOL DPCBCMT NOPRTCC')
//*
//NEWDD  DD DSN=new-source-code,
//          DISP=SHR
//OLDDD  DD DSN=old-source-code
//          DISP=SHR
//OUTDD  DD SYSOUT=(*)
//SYSIN  DD DUMMY

NOTE: this will ignore COBOL comments and the characters in columns 1-6
You could code a rexx to parse the OUTDD output from this and then reformat for each member. Good luck
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Report of batch jobs JCL & VSAM 1
Search our Forums:

Back to Top