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

SYNCSORT PHASES?


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

New User


Joined: 02 Dec 2006
Posts: 33
Location: chennai

PostPosted: Sat Jun 25, 2011 2:20 am
Reply with quote

Does Syncsort have phases? Like if i am running sort on a file , does it happen like read the file, sort and put it in SORTWK and eventually write the records into the o/p file.

Just wanted to know whether we have a way of knowing which phase the sort is in , based on any of the data from SDSF , while the job is still active.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 25, 2011 3:31 am
Reply with quote

Hello,

No, there isn't a way from SDSF, really.

Why do you believe this might be of some use to you?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Jun 25, 2011 3:44 am
Reply with quote

Trying to find out how the scrillion-record sort is going?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 25, 2011 4:08 am
Reply with quote

Hello,

Possibly. . .

If this really is a scrillion-record (and not just a generic request about sort status while in-flight). something i've noticed over time is that when the cpu usage drops very low and the i/o is very high, the sort is nearly done. As long as the cpu use is substantial, the "ordering" is still in process.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Jun 25, 2011 4:52 am
Reply with quote

There is an "END SORT PHASE" message. As Dick says, then the CPU drops and IO (EXCPs) rises. If you have any sort of "monitoring" tool, you'd notice the difference.

I don't know if the message comes up on the log in your system, or whether you have to get lucky looking at the output while the job is still running.

The read input/write to sortwk/sort is, I think, all happening at the same time, to at least some extent, although sortwk usage and sorting will continue after the input is exhausted. I don't remember a message for "finished with input file", but just look at any sort output, sort messages manual, sort manual etc. Tape rewinding was a clue to finished input. We'd sometimes ask the OPS to let us know that on a big sort (our "big" sorts were tiny compared to yours).

It was always comforting to see WER045C arrive. Although you then start to think about if there is enough space for the output file.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sat Jun 25, 2011 12:48 pm
Reply with quote

A description of all Syncsort phases can be found in the Programmer's Guide.
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 Compare only first records of the fil... SYNCSORT 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
No new posts Syncsort "Y2C" Function SYNCSORT 1
No new posts Arithmetic division using Syncsort SYNCSORT 6
Search our Forums:

Back to Top