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

JOBS in SPOOL are not in sequence


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jitu852

New User


Joined: 30 Apr 2007
Posts: 27
Location: Hyderabad

PostPosted: Fri Dec 26, 2008 2:42 pm
Reply with quote

by mistake i sort the spool by job_id , now i want to see the job in spool in default order (latest job in bottem , because of the short by job_id job are appear in the order of job id which i don't want) please help.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Dec 26, 2008 8:16 pm
Reply with quote

Enter the command SORT ? to see the pop-up. Clear all the fields to return to the default.
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Mon Dec 29, 2008 2:30 pm
Reply with quote

or try the below if you have ISPF option, select VIEW and

Code:
    
Display     Filter     View     Print     Options     Help                               
-----------------------------------------------------------------------------
SDSF STATUS DISPLAY ALL CLASSES                        LINE 1-10 (10)       
COMMAND INPUT ===>                                                  SCROLL ===>    CSR


and goto SORT

Code:

r     View     Print     Options     Help             
     :    1     1.    Sort...                           :
    :          2.    Arrange...                        :
    :          3.    Set hex to ON                     :
    :          4.    Change field list to ALTERNATE    :
    :          5.    Who...                            :
 


and set Run Date as Major Col and Run Time as Min Col and sort order as D.

Code:

                           Sort               Row 1 to 11 of 43
Command ===>                                               
                                                     
Type 1 or 2 column names and A or D for ascending or 
descending order.  Columns are listed below.         
                                                     
Major Column    RD-DATE               Order    D     (A or D)       
Minor Column    RD-TIME               Order    D     (A or D)       
                                                         
                                                         
Back to top
View user's profile Send private message
jitu852

New User


Joined: 30 Apr 2007
Posts: 27
Location: Hyderabad

PostPosted: Tue Dec 30, 2008 7:46 pm
Reply with quote

thanks for reply

I tried "SORT ?" and clear the sort field but still iam not getting the default sequence of job .
i don't have SDSF.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Dec 30, 2008 9:40 pm
Reply with quote

jitu852 wrote:
i don't have SDSF.
What DO you have so that someone might offer a suggestion?

Do you want jobs in sequence by END-TIME? Latest at the bottom?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Dec 31, 2008 12:46 am
Reply with quote

Hello,

Quote:
by mistake i sort the spool by job_id
How did you do this? What screen was used to input your command? What was the exact command you entered?

To show us the screen, use copy, paste, and the "Code" tag - do not use a "screenshot" those are deleted. Use Preview to see your post as it will appear to the forum (rather than what you see in the Reply Editor) and Submit when you are satisfied with the appearance of your post. If you simply copy/paste/"Code", no editing is needed. Code preserves alignment.
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Fri Feb 20, 2009 2:28 pm
Reply with quote

Whats the Default SPOOL sort Order under ISPF?

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

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Feb 23, 2009 11:31 am
Reply with quote

Sort by queue.

sort queue option
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Mon Feb 23, 2009 11:38 am
Reply with quote

Hi srinivas_naikk,
In the command when i give SORT BY QUEUE i get the following message

Code:
                                            SORT COLUMN NOT FOUND
SORT BY QUEUE                              SCROLL ===> CSR
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Mon Feb 23, 2009 11:39 am
Reply with quote

Give it as just

Code:
SORT QUEUE


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

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Feb 23, 2009 11:49 am
Reply with quote

its just

SORT QUEUE
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Mon Feb 23, 2009 11:49 am
Reply with quote

I tried that also but never got the
JOBS in SPOOL in sequence
Back to top
View user's profile Send private message
srinivas_naikk

New User


Joined: 23 Jul 2007
Posts: 26
Location: India

PostPosted: Mon Feb 23, 2009 12:16 pm
Reply with quote

try

SORT POS
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Mon Feb 23, 2009 12:27 pm
Reply with quote

Nope this is (SORT POS) also not working
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Mon Feb 23, 2009 12:34 pm
Reply with quote

Not sure. If you are into ISPF... those commands work.

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

Moderator Emeritus


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

PostPosted: Mon Feb 23, 2009 8:44 pm
Reply with quote

Hello,

Quote:
Nope this is (SORT POS) also not working
Posting "it didn't work" is just a waste of time. . .

What happened? An abend? An error? Some strange message? Nothing?
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Tue Feb 24, 2009 10:08 am
Reply with quote

once i enter (SORT POS) Nothing happened
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Feb 24, 2009 10:18 am
Reply with quote

Hello,

After you issue the command, press F1 to see if there is any help available.

You may need to talk with the system support people and/or security admins to see if you have permissions to use all of the commands available. Many systems restrict these commands.

I just re-read your topic and see that "i don't have SDSF." Please explain what tool or product you use to see the spooled info.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Feb 24, 2009 3:15 pm
Reply with quote

jitu852 wrote:
thanks for reply

I tried "SORT ?" and clear the sort field but still iam not getting the default sequence of job .
i don't have SDSF.

I, too, have a couple of questions:
When you typed "SORT ?" did you receive that panel?
Code:
                         Sort         Row 1 to 11 of 43
 Command ===>                                           
                                                       
 Type 1 or 2 column names and A or D for ascending or   
 descending order.  Columns are listed below.           
                                                       
 Major Column  _________  Order _ (A or D)     
 Minor Column  _________  Order _ (A or D)     
                                                       

And, most important, do you mind answering any of the questions that have been posted on this thread ?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Feb 24, 2009 3:19 pm
Reply with quote

anandinmainframe wrote:
once i enter (SORT POS) Nothing happened

Not even a small error message on top right of the screen ?
Something like "SORT COLUMN NOT FOUND" ??
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Feb 24, 2009 3:25 pm
Reply with quote

And now I see that the thread was opened by jitu852 but continued by anandinmainframe
Was jitu852's problem solved ?
Do jitu852 and anandinmainframe have the same problem ?
Do they work on the same place ?
Why am I asking so many questions ?
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Tue Feb 24, 2009 4:09 pm
Reply with quote

And now I see that the thread was opened by jitu852 but continued by anandinmainframe
Yes
Do jitu852 and anandinmainframe have the same problem ?
Yes i hope so
Do they work on the same place ?
No
Why am I asking so many questions ?
icon_razz.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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts purge jobs with return code 0 and ret... JCL & VSAM 4
No new posts SPOOL to Mainframe dataset in batch mode JCL & VSAM 7
No new posts How to turn off 'ACTION' SDSF output ... TSO/ISPF 2
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top