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

command to display the spool jobs in order of submission


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

New User


Joined: 30 Jun 2009
Posts: 5
Location: bangalore

PostPosted: Fri Aug 26, 2011 10:56 am
Reply with quote

hi,

Now when i look into the spool, the jobs are grouped in order of the job-id in ascending order
i am looking for command that will arrange these jobs in order of submission

that is, the jobs should be displayed in the spool in the order in which i submitted them

can any one help me plz...

thanks in advance
lakshmi
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10889
Location: italy

PostPosted: Fri Aug 26, 2011 11:04 am
Reply with quote

why not look at the SDSF manuals Yourself or use the PF1 to see what You can do ??? icon_evil.gif

the fastest way to get to the sort panel help is to type sort <garbage>
it will tell sort column not found, hitting PF1 will take You to the SDSF sort command help
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: Fri Aug 26, 2011 11:06 am
Reply with quote

I think I'm missing something.

When you submit a job, it will get the next highest job-id that is not already being used by something else in the system. Your particular jobs are going to have successively higher numbers.

Why does that not give you what you want already?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1745
Location: Tirupur, India

PostPosted: Fri Aug 26, 2011 11:34 am
Reply with quote

Quote:
When you submit a job, it will get the next highest job-id that is not already being used by something else in the system. Your particular jobs are going to have successively higher numbers.

Colonel we have a problem, a job submitted few days back has higher job-id than the one that was submitted today. The job-id gets reset once in a while or something icon_question.gif IDK
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Aug 26, 2011 11:51 am
Reply with quote

Try SORT QUEUE

O.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1745
Location: Tirupur, India

PostPosted: Fri Aug 26, 2011 12:03 pm
Reply with quote

Hello,
After issuing SORT QUEUE, the jobs in the PRINT queue are sorted in the order in which they completed and not in the order in which they were submitted.
SORT POS also does the same thing of sorting stuff based on job completion time and not on job submit time.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10889
Location: italy

PostPosted: Fri Aug 26, 2011 12:29 pm
Reply with quote

I tried SORT QUEUE in the I , O, H, DA, ST
and the only place showing a QUEUE column is the STatus display
but the meaning is the <internal> jes queue name ( execution,print,...) the other queues are difficult to catch


the only way I found... TESTED with the H command
is to sort on rd-date and rd-time
no need to use the ? unless you have the need to see the columns available for sorting
Back to top
View user's profile Send private message
Ponnam

New User


Joined: 23 Sep 2011
Posts: 1
Location: India

PostPosted: Fri Sep 23, 2011 3:21 pm
Reply with quote

Use 'SORT AGE D'
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10889
Location: italy

PostPosted: Fri Sep 23, 2011 6:40 pm
Reply with quote

Quote:
Use 'SORT AGE D'


post the link to the SDSF manual or
a screen shot (*) of a successfull excutioin of the command as suggested

(*) text cut and paste please !
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2596
Location: Silicon Valley

PostPosted: Fri Sep 23, 2011 8:59 pm
Reply with quote

I use this in the SDSF H display:
Code:
SORT CRDATE D JOBID D

CRDATE first so that when the jobids rollover, the date takes precedence.

Note: the OP mentioned ascending order... my example is in descending order so that the most recent jobs are seen first, without having to scroll.
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 6
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts How to Login in to cics region and is... CICS 9
No new posts Passing containers on START command CICS 4
Search our Forums:

Back to Top