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

The syntactical difference between SYNCSORT & DFSORT


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

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Tue May 16, 2006 6:34 pm
Reply with quote

Hi All,

I was using the following control statements for the SORT program:

Code:
//SYSIN    DD *           
  SORT FIELDS=COPY         
  OUTFIL FNAMES=SORTOUT,   
  OUTREC=(1,80,TRAN=ALTSEQ)
  ALTSEQ CODE=(4A40)       
/*                         

on two regions; one produced result and the other abended with a code of U0016.

On the region it ran successfully, DFSORT was getting invoked and where it failed SYNCSORT was getting invoked!

What could be the reason for failure? I'm wondering there could be a sort of syntactical difference between the two!

Please advise.

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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue May 16, 2006 6:51 pm
Reply with quote

twissi wrote:
I'm wondering there could be a sort of syntactical difference between the two!


That's it exactly. Two different products, offered by two different vendors (IBM and SYNCSORT), that use the parameters as defined by the product developers.

I'm curious why a shop would run DFSORT on one system and SYNCSORT on another.
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Tue May 16, 2006 7:05 pm
Reply with quote

Very well, please could you provide me with the syntax for the above code that is suitable for SYNCSORT?

Quote:
I'm curious why a shop would run DFSORT on one system and SYNCSORT on another.


I'm curious too....

Many thanks, Twissi.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue May 16, 2006 8:57 pm
Reply with quote

The syntax for DFSORT and Syncsort is similar in many ways, but there are also many differences. For example, DFSORT has many functions not found in Syncsort, such as PARSE, JFY, SQZ, IFTHEN, OVERLAY, UFF, SFF, etc. Since you didn't show the error messages you received with Syncsort, it's hard to say which function it was complaining about in your particular case, but I'd guess it was TRAN=ALTSEQ.

If you or anyone else on this list would like me to send you documents prepared by the DFSORT Team that discuss what we see as the advantages of DFSORT over Syncsort, as well as considerations for migrating from Syncsort to DFSORT, send me a note offline (yaeger@us.ibm.com). Please put "DFSORT" somewhere in your Subject line to catch my attention.
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
Search our Forums:

Back to Top