Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

command to display the spool jobs in order of submission

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: command to display the spool jobs in order of submission
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Fri Aug 26, 2011 11:04 am    Post subject: Reply to: command to display the spool jobs in order of subm
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Fri Aug 26, 2011 11:06 am    Post subject: Reply to: command to display the spool jobs in order of subm
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: 1445
Location: Azeroth

PostPosted: Fri Aug 26, 2011 11:34 am    Post subject:
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: 2360
Location: Israel

PostPosted: Fri Aug 26, 2011 11:51 am    Post subject:
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: 1445
Location: Azeroth

PostPosted: Fri Aug 26, 2011 12:03 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Fri Aug 26, 2011 12:29 pm    Post subject: Reply to: command to display the spool jobs in order of subm
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    Post subject: Reply to: command to display the spool jobs in order of subm
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Fri Sep 23, 2011 6:40 pm    Post subject: Reply to: command to display the spool jobs in order of subm
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

Senior Member


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

PostPosted: Fri Sep 23, 2011 8:59 pm    Post subject: Reply to: command to display the spool jobs in order of subm
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us