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

JOB to clean JOBLOG.


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Nov 27, 2008 3:28 pm
Reply with quote

Hi,

After submitting many jobs, the joblog becomes crowded with the job info.

Instead of deleting these joblog details line by line, can we write a single job to clean up all the jobs from joblog. (for my own userid ofcourse). Or is there any other way?


Code:

Jobname  Type  Jobnr Queue Stat Jobc Prty Tot-Lines Outc Dest     Destuser
LEAUPYDX JOB   26512 OUTP  HLDC A       8      3466 X    LOCAL           
LEAUPYDX JOB   26454 OUTP  HLDC A       8      3490 X    LOCAL           
LEAUPYDX JOB   26450 OUTP  HLDC A       8      3486 X    LOCAL           
LEAUPYDX JOB   26447 OUTP  HLDC A       1      2861 X    LOCAL           
LEAUPYDX JOB   26431 OUTP  HLDC A       1      2885 X    LOCAL           
LEAUPYUI JOB   26341 OUTP  HLDC A       8       201 X    LOCAL           
                     OUTP  HLDC A       8     10681 X    LOCAL           
LEAUPYUI JOB   26333 OUTP  HLDC A       8       200 X    LOCAL           
                     OUTP  HLDC A       8        10 X    LOCAL           
LEAUPYUI JOB   26307 OUTP  HLDC A       8       211 X    LOCAL           
                     OUTP  HLDC A       8         4 X    LOCAL           
LEAUPYUI JOB   26259 OUTP  HLDC A       8       198 X    LOCAL           
                     OUTP  HLDC A       8        10 X    LOCAL           
LEAUPYUI JOB   26257 OUTP  HLDC A       8       209 X    LOCAL           
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 4:02 pm
Reply with quote

Genesis,

Can you not use the bloack PURGE command. (//P and // )
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Nov 27, 2008 4:12 pm
Reply with quote

I recommend REXX with Batch SDSF commands. Search the forum for examples.

O.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Nov 27, 2008 4:16 pm
Reply with quote

Hi Aaru.. i tried the following, but seems i am not giving correct syntax?

Code:

 GSVX156E Invalid line command - //P -------------- Lvl 1 Row 1-4/4 Col 1-79/525
 Total Lines  1,051           Total Pages 0                                     
 -------------------------------------------------------------------------------
     *        ALL         ALL   ALL  ALL                 ALL  *                 
 Cmd Jobname  Type  Jobnr Queue Stat Jobc Prty Tot-Lines Outc Dest     Destuser
 //P LECURK01 JOB   27157 OUTP       A       8        42 A    LOCAL           
     LECURK01 JOB   26672 OUTP       A       8       555 A    LOCAL           
 //  LECURK01 JOB   26671 OUTP       A       8       454 A    LOCAL           
     LECURK   TSU   27049 EXEC       @      15                LOCAL             


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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 27, 2008 4:24 pm
Reply with quote

maybe the ts is not using SDSF
I do not remember SDSF issuing "GSVX156E ...." messages
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 4:34 pm
Reply with quote

Hi,

Quote:
Hi Aaru.. i tried the following, but seems i am not giving correct syntax?



Think the command is // and //P. If tha doesn't work then i think its because of the reason mentioned by Enrico.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Nov 27, 2008 4:43 pm
Reply with quote

//.. //P too not working. [icon_sad.gif] will try SDSF in rexx.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 27, 2008 4:57 pm
Reply with quote

are You using sdsf or what else

the GSV prefix hints something else

use PF1 to get a hint on what You are using to browse the spool
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Nov 27, 2008 5:01 pm
Reply with quote

hi enrico, its something:

Code:
 GSVX900I CA SYSVIEW 11.6 0610 Copyright (C) 2007 CA
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 27, 2008 5:05 pm
Reply with quote

so check the CA Sysview docs
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 5:05 pm
Reply with quote

Yes, You got it. You are using SYSVIEW from CA.

Please check the manual for available commands.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to XDC joblog to PDS CLIST & REXX 5
No new posts How To recover db2 table data which I... DB2 4
No new posts WAFTBL - in JOBLOG JCL & VSAM 3
No new posts Capturing the joblog with filter as u... CLIST & REXX 12
No new posts Capture Joblog into PS Using REXX CLIST & REXX 8
Search our Forums:

Back to Top