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
 

 

PS comparision using SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
vasudhask

New User


Joined: 08 Jul 2008
Posts: 4
Location: UK

PostPosted: Tue Jul 08, 2008 5:21 pm    Post subject: PS comparision using SORT
Reply with quote

I want to compare two PS datasets of LRECL 1000 and get byte-by-byte differences in the output file. I need an output file with differences for all 1000 characters. Can this be handled through SORT?

Thanks,
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 08, 2008 5:33 pm    Post subject:
Reply with quote

ISPF 3.13 can handle this if the parameters are set correctly. Use byte compare and listing type delta.
Back to top
View user's profile Send private message
vasudhask

New User


Joined: 08 Jul 2008
Posts: 4
Location: UK

PostPosted: Wed Jul 09, 2008 1:49 pm    Post subject:
Reply with quote

Robert, Thanks for your suggestion. We have already tried with these parameters. But the result we got was file with just first 80 characters of the record (output PS of LRECL 80). What I am looking for is output should be of same LRECL as that of input.
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu Jul 10, 2008 2:24 pm    Post subject: Reply to: PS comparision using SORT
Reply with quote

Hi,

If you have File Master in your shop they try the below JCL,


Code:

//* POSITION SELETS THE THE ROW FROM 1 TO 72 FOR PROCESSING     
//JSTP0010 EXEC PGM=CAWABATC                                     
//SYSPRINT DD SYSOUT=*                                           
//SYSLIST DD SYSOUT=*                                           
//SYSUT1  DD DSN=DEV2.CART.TO.DASD.PROC1(CMDCPD21),DISP=SHR     
//SYSUT1N DD DSN=DEV2.CART.TO.DASD.PROC(CMDCPD21),DISP=SHR       
//SYSIN DD *                                                     
  COMPARE POSITION(1,72)                                         
/*                                                               


Output i got is
Code:

2----+----3----+----4----+----5----+----6----+----7----+----
 ENCODING="UTF-8"?><IMS:SHOWINVOICE XMLNS:OA="HTTP:/       
 ENCODING="UTF-8"?>.<IMS:SHOWINVOICE XMLNS:OA="HTTP:/       
                   ***************************** ****       
                                                           
                                                           


It indicate the changes as *.

Regards
R KARTHIK
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


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