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

SYNCSORT-DB2 interface


IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2290
Location: USA

PostPosted: Fri Sep 20, 2024 9:44 pm
Reply with quote

SYNCSORT allows to specify a standard SELECT statement to define input data extracted directly from DB2 table(s) rather than records read from a prepared dataset.

There are no described restrictions on using ORDER BY clause in SQL query to be executed within SYNCSORT, and any correct ORDER BY clause is really accepted. But, surprisingly, the records extracted from DB2 by SYNCSORT are found not ordered by the column from ORDER BY clause!

The same SQL query executed from SPUFI demonstrated ordered results, but after SYNCSORT the same data come not ordered.

Does anyone has any idea on this issue?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3112
Location: NYC,USA

PostPosted: Sat Jun 28, 2025 7:56 am
Reply with quote

Certain versionsSYNCSORT/DB2 have limitations on order by, sorting .. do you have manual to check ?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> SYNCSORT

 


Similar Topics
Topic Forum Replies
No new posts Trouble using REXX SDSF interface to ... CLIST & REXX 3
No new posts CICS - Resource limiting using omegam... CICS 0
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Create a FTP record with help of SYNC... SYNCSORT 3
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:


Back to Top