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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Dec 22, 2010 9:26 am
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 22, 2010 12:10 pm
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
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
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
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
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 22, 2010 4:38 pm
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: 2358
Location: Israel

PostPosted: Wed Dec 22, 2010 5:18 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 22, 2010 5:30 pm
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: 2358
Location: Israel

PostPosted: Wed Dec 22, 2010 11:42 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Need to locate SMF Exit IEFUJI All Other Mainframe Topics 3
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts No sysout coming in spool JCL & VSAM 4
No new posts SPOOL commands for INTRDR CICS 8
Search our Forums:

Back to Top