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
 

 

How can i locate a particular job in the spool that i need

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 22, 2010 8:37 am    Post subject: How can i locate a particular job in the spool that i need
Reply with quote

Hi

Is there any command to locate a paricluar job that i recently ran ?
For example, i have run 26 diffferent kinds of jobs this morning. In the job card of all the jobs, i included the program name also.... say it is from TBAAAA thru TBZZZZ for those 26 programs for each. Job names for all those jobs are unique. i need to run the job TBKKKK again later this evening.
Is there any way of quickly locating this using the progam name instead of job names like SRCHFOR command ?
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Wed Dec 22, 2010 9:26 am    Post subject:
Reply with quote

Hello,

Is there some reason for this topic to be in JCL?

One fairly easy way to do what you want is use SDSF online and display the job of interest by job name. . .

Maybe there is something i misunderstand.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 22, 2010 10:32 am    Post subject:
Reply with quote

Hi Dick

No specific reason for this topic to be in jcl.
Its just an interest only.
Sometimes i could remember the program names alone and forgot the location of the actual jcl or the job names.
In that case, if i remembered that job was already running on that day, i could easily go to the spool area and looking for that job with the program name say it is TBKKKK.
Sometimes job names are tough to put in our human memory as it may be typical names. But program names are not like
that. Thats why i needed this info.

Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Dec 22, 2010 12:10 pm    Post subject: Reply to: How can i locate a particular job in the spool tha
Reply with quote

the best advice... start using stickers !
Back to top
View user's profile Send private message
Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Wed Dec 22, 2010 12:15 pm    Post subject: Reply to: How can i locate a particular job in the spool tha
Reply with quote

try to keep your jcls at one place and give meaningful names to your jobs...that way it wud be far more easier for you to remember the job names for programs.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 22, 2010 1:25 pm    Post subject:
Reply with quote

Hi enrico-sorichetti

I dont get you.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Dec 22, 2010 2:31 pm    Post subject:
Reply with quote

sureshmurali wrote:
Hi enrico-sorichetti
I dont get you.


create a cross-reference (written)

stickers are a piece of paper with adhesive. thus you can adorn your terminal with notes containing that information which you are not able
to contain in your brain.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 22, 2010 4:20 pm    Post subject:
Reply with quote

Oh! Thanks for the brilliant idea. icon_lol.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Dec 22, 2010 4:38 pm    Post subject: Reply to: How can i locate a particular job in the spool tha
Reply with quote

something I do often ( but I set my own standards and rules )
is to use the Programmer name field to have additional info

Code:
000001 //IBMUSER1 JOB ,'PROG1',NOTIFY=&SYSUID,
000002 //             MSGLEVEL=(1,1),CLASS=A,MSGCLASS=X
000003 //*
000004 //IEF     EXEC PGM=IEFBR14
000005 //SYSPRINT  DD SYSOUT=*
000006 //IBMUSER1 JOB ,'PROG2',NOTIFY=&SYSUID,
000007 //             MSGLEVEL=(1,1),CLASS=A,MSGCLASS=X
000008 //*
000009 //IEF     EXEC PGM=IEFBR14
000010 //SYSPRINT  DD SYSOUT=*


under sdsf it will show as
Code:
IBMUSER1 C 0000    JOB           PROG1                     IBMUSER  SYS1 1
IBMUSER1 C 0000    JOB           PROG2                     IBMUSER  SYS1 1


but You will have to use the alternate columns names ? and scroll a bit to the right
You can also use the commands
Code:
SORT   PROG A/D
FILTER PROG<some mask>
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Dec 22, 2010 5:18 pm    Post subject:
Reply with quote

You don't have to scroll. I used the ARRANGE option to put the programmer column at the leftmost side of the alternate panel.

O.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Dec 22, 2010 5:30 pm    Post subject: Reply to: How can i locate a particular job in the spool tha
Reply with quote

Hi O.!

You made me remember, but really the command is ARRANGE,

if You type ORDER, SDSF will just try to display classes RDER in the output queue

and zillions of people around here will start complaining about SDSF errors
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Dec 22, 2010 11:42 pm    Post subject:
Reply with quote

Thanks, Enrico. I updated my post.

O.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Thu Dec 23, 2010 1:24 am    Post subject:
Reply with quote

Thanks everyone.
Really useful discussion
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Thu Dec 23, 2010 11:36 am    Post subject:
Reply with quote

This one example is for the future users on how to use ARRANGE command in the job spool.

Issue command ARRANGE ? or ARR ?

Arrange Panel is displayed, which has instructions for selecting and
moving the required fields.


For selecting a single field give /or
selecting a block of fields give //

and then use A (after) or B(before) to move the fields to desired location


Note:- F5 Here would refresh the list
F6 Default order
F11 Resets the input.
Back to top
View user's profile Send private message
Jeffrey Ranney

New User


Joined: 23 Dec 2010
Posts: 20
Location: USA

PostPosted: Tue Dec 28, 2010 6:19 pm    Post subject:
Reply with quote

You can use the SDSF "FILTER" from the menu at the top.

My SDSF "ST" screen shows :

JOBNAME JobID Max-RC Programmer-Name
DZQ08KDM JOB21243 CC 0000 DATAMINE
DZQ08KDM JOB21458 CC 0000 DATAMINE
DZQ08KDM JOB21766 CC 0000 DATAMINE
DZQ08KF2 JOB21828 CC 0004 FMGR : #FDCHART
DZQ08KF2 JOB23273 CC 0004 FMGR : #FDCHART
DZQ08KDM JOB23318 CC 0000 DATAMINE
DZQ08KEX JOB04944 CC 0004 #EXPLODE

I add the following to my filters :

PROGRAMMER-NAME EQ DATA*

My "ST" screen now shows :

JOBNAME JobID Max-RC Programmer-Name
DZQ08KDM JOB21243 CC 0000 DATAMINE
DZQ08KDM JOB21458 CC 0000 DATAMINE
DZQ08KDM JOB21766 CC 0000 DATAMINE
DZQ08KDM JOB23318 CC 0000 DATAMINE

Don't forget to turn OFF this filter when you are done with it !!!

I use the following filters only to *NOT* show my TSO session executing :

Column Oper Value (may include * and %)
MODE NE JES2
JOBID NE TSU*
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Report output in Spool amitc23 JCL & VSAM 4 Tue Apr 26, 2016 4:32 pm
No new posts Extract specific step spool data enrico-sorichetti JCL & VSAM 1 Thu Feb 04, 2016 9:48 am
No new posts Locate a label set by anothet macro swathykrishnan TSO/ISPF 4 Thu Sep 03, 2015 12:32 pm
No new posts XML generated from cobol is displayin... vangeti COBOL Programming 2 Wed Aug 19, 2015 5:16 pm
No new posts Help needed to locate the changes wh... thesumitk TSO/ISPF 6 Fri Jun 12, 2015 6:21 pm


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