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
 

 

JOB to clean JOBLOG.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: JOB to clean JOBLOG.
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: 1288
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 4:02 pm    Post subject: Reply to: JOB to clean JOBLOG.
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: 2360
Location: Israel

PostPosted: Thu Nov 27, 2008 4:12 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 27, 2008 4:24 pm    Post subject: Reply to: JOB to clean JOBLOG.
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: 1288
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 4:34 pm    Post subject: Reply to: JOB to clean JOBLOG.
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 27, 2008 4:57 pm    Post subject: Reply to: JOB to clean JOBLOG.
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 27, 2008 5:05 pm    Post subject: Reply to: JOB to clean JOBLOG.
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: 788
Location: Chennai, India

PostPosted: Thu Nov 27, 2008 5:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to XDC joblog to PDS jackzhang75 CLIST & REXX 5 Tue Jul 15, 2014 12:59 am
No new posts How To recover db2 table data which I... sushanth bobby DB2 4 Thu Feb 28, 2013 11:27 am
No new posts WAFTBL - in JOBLOG Paraneetharan M JCL & VSAM 3 Wed Aug 17, 2011 4:08 pm
No new posts Capturing the joblog with filter as u... enrico-sorichetti CLIST & REXX 12 Tue Jun 14, 2011 1:25 pm
No new posts Capture Joblog into PS Using REXX satish.ms10 CLIST & REXX 8 Wed Dec 01, 2010 2:21 pm


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