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

Syncsort version problem


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Fri Jan 30, 2009 12:28 pm
Reply with quote

Hi ALl.

We are upgrading to Syncsort v1.3 and were doing a few regressions to check output.
The sort card we are using is :
INREC FIELDS=(1:48,1,
2:56,4,
6:60,3,
9:271,2,
11:304,2,
13:49,1,
14:54,1,
15:X'0000001F',
19:18,3,
22:67,3,
25:327,1,
26:258,5,
31:282,6,
37:328,1)
SORT FIELDS=(1,1,CH,A,
2,4,CH,A,
6,3,CH,A,
9,2,CH,A,
11,2,CH,A,
13,1,CH,A,
19,3,CH,A,
14,1,CH,A)
SUM FIELDS=(15,4,PD,26,5,PD)


I noticed for the same sort card the different versions of syncsort are giving different values in the position 31-36. Please have a look at the card and help me in knowing why this is happening.

Thanks, cics guy
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jan 30, 2009 1:03 pm
Reply with quote

CICS fan,

Are you saying that for the same input file and sort cards, you get different outputs? The functions used here are not so complex, and I believe it should work the same way for 1.2 or 1.3.

BTW, What difference are you seeing in the output files? Is it for a single record or all the records? What are the LRECL/RECFMs of input/output?
Back to top
View user's profile Send private message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Fri Jan 30, 2009 1:07 pm
Reply with quote

input is 400
output is 37
there are some records which are having difference in the position 31-36
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jan 30, 2009 1:20 pm
Reply with quote

Quote:
there are some records which are having difference in the position 31-36
How did you come to this conclusion? Do you use some utility to compare the output files? Are the number of output records the same? If yes, can you add the EQUALS parameter to your sort card as shown below, test both the versions and compare the output files again?
Code:
SORT FIELDS=(1,1,CH,A,
2,4,CH,A,
6,3,CH,A,
9,2,CH,A,
11,2,CH,A,
13,1,CH,A,
19,3,CH,A,
14,1,CH,A),EQUALS
Back to top
View user's profile Send private message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Fri Jan 30, 2009 1:31 pm
Reply with quote

Yes!! Its working with EQUALS.
But earlier the prod version used to run without EQUALS.
Can you please explain this? Many thanks ...
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jan 30, 2009 1:52 pm
Reply with quote

CICS fan,

EQUALS parameter retains the order of equally keyed records in your input file. NOEQUALS which is the default mentions that the order of equally-keyed records can be in any arbitrary order. So please do understand that it's NOT a problem with your SyncSort version. If they chose to go with NOEQUALS, they were not worried about the order of 'equally-keyed' records. Go through the 'EQUALS/NOEQUALS' description in your SyncSort manual if you would like to know more.

SyncSort for z/OS Release 1.3 Manual wrote:
The EQUALS parameter insures that the original order of equal-keyed records is preserved. These records will be in the same order in the output file as they were in the input file. NOEQUALS, the default, specifies that equal-keyed records may not be written in their original input order.
Back to top
View user's profile Send private message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Fri Jan 30, 2009 1:57 pm
Reply with quote

Thanks Arun. Much appreciated....Thanks a lot!!!!!!!
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jan 30, 2009 2:01 pm
Reply with quote

You're welcome. icon_smile.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:

Back to Top