View previous topic :: View next topic
|
Author |
Message |
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
the best advice... start using stickers ! |
|
Back to top |
|
|
Dsingh29
Active User
Joined: 16 Dec 2008 Posts: 132 Location: IBM
|
|
|
|
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 |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
Hi enrico-sorichetti
I dont get you. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
Oh! Thanks for the brilliant idea. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Thanks, Enrico. I updated my post.
O. |
|
Back to top |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
Thanks everyone.
Really useful discussion |
|
Back to top |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
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 |
|
|
Jeffrey Ranney
New User
Joined: 23 Dec 2010 Posts: 20 Location: USA
|
|
|
|
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 |
|
|
|