Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10350
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: 7314

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: 1528
Location: Chennai

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: 1528
Location: Chennai

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: 10350
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: 10350
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: 2088
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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us