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
 

 

Prepare a report to increase readability

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Prepare a report to increase readability
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

Senior Member


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

PostPosted: Thu Sep 11, 2014 9:20 pm    Post subject: Reply to: SAMPLE
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

Senior Member


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

PostPosted: Sat Sep 13, 2014 1:39 am    Post subject: Reply to: Prepare a report to increase readability
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: 183
Location: Toronto, ON, Canada

PostPosted: Wed Sep 17, 2014 12:28 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm
No new posts Report view in Mobile devices Robert Sample All Other Mainframe Topics 0 Thu Jun 23, 2016 7:05 pm


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