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
 

 

Two different PDS production and test comparison

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 2:25 pm    Post subject: Two different PDS production and test comparison
Reply with quote

Hi

I want to write a code for comparison of two different PDS(one in production and other one will be in test). Whether it will be easy in rexx or easytreive.

Is that possible? because in that two pds, ps members will be same but qualifiers will be different. Can anyone suggest with the code.
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Fri Nov 20, 2015 5:23 pm    Post subject:
Reply with quote

Why not just adapt what you have in your other post? Yes, it is possible to write a program (not a code) in Rexx to do this and you were given a hint in your other thread.
Back to top
View user's profile Send private message
Mani453

New User


Joined: 19 Nov 2015
Posts: 12
Location: INDIA

PostPosted: Fri Nov 20, 2015 6:43 pm    Post subject: Reply to: Two different PDS production and test comparison
Reply with quote

Hi Nic

My client again requested me prepare a tool. For comparison of test and production also. Can you suggest me the rexx program.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri Nov 20, 2015 8:54 pm    Post subject: Reply to: Two different PDS production and test comparison
Reply with quote

Quote:
Can you suggest me the rexx program.


nobody will waste time in explaining how to reinvent the wheel ...

anyway comparing <files> is simple
see the cobol snippet on two files match

but if it is - source code - data without a match key -
the task is probably outside Your skill level

so just convince Your client to use the tools/programs available and sweeten the pill by writing a wrapper around it.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Fri Nov 20, 2015 8:58 pm    Post subject:
Reply with quote

SUPERC is a tool. But if you are going to re-invent the wheel I and you do not know rexx then start reading the manual - Keywords, Functions and Parsing in particular. And then the TSO Extensions manual - EXECIO. And then the ISPF Library Services manual - most parts.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Sat Nov 21, 2015 4:13 am    Post subject:
Reply with quote

Duplicate post. Mani, please don't waste time of others by adding duplicate posts that wouldn't help you to get the code.
http://ibmmainframes.com/viewtopic.php?t=64579&highlight=
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Nov 23, 2015 11:36 pm    Post subject: Reply to: Two different PDS production and test comparison
Reply with quote

You know how to compare two files using a batch job, all you have to do is do the same in rexx...

To do the same in rexx, your program has to do:
1. allocate required DD statements using ALLOCATE command.
2. provide SYSIN file with data using EXECIO statement
3. Invoke SUPERC:
Code:
myparm = "DELTAL,LINECMP"         
Address LINKMVS "ISRSUPC MYPARM" 

4. My suggestion is to VIEW the resulting OUTDD file after SUPERC finishes.

---
An alternate approach is to write a rexx program to VIEW a member of the production file and then have an initial editor macro that automatically issues the editor COMPARE command against the test file. The result is a panel that shows the differences in a member and where you can easily incorporate the differences.
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 CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts COOLGEN - TSO TEST FACILITY indianrajput CA Products 4 Wed Nov 02, 2016 9:28 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm
No new posts REXX code for comparison of two diffe... Mani453 CLIST & REXX 6 Fri Nov 20, 2015 5:21 am
No new posts Weird test results when Xpediter is t... Crunch Compuware & Other Tools 6 Tue Oct 06, 2015 7:48 pm


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