MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to purge a job ..???other than conventional way??

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Wed Feb 04, 2004 12:23 am    Post subject: How to purge a job ..???other than conventional way?? Reply with quote

Hello,

i had submitted a job..it has run for some time but after that it has stopped but it is still in the input queue..Now i want to purge this.
i gave commands like P(purge), C(cancel), D(delete).. for all these it says Command issued but job does not come out of Input queue..

does anybody have solution for this

Bala
Back to top
View user's profile Send private message Yahoo Messenger
shiv_swami
Beginner


Joined: 29 Nov 2003
Posts: 68
Topics: 14

PostPosted: Wed Feb 04, 2004 3:40 am    Post subject: Reply with quote

Hi Bala,

I have also experienced this problem quite often.I suppose the job is actually Purged or Cancelled when we issue those commands in SDSF but it does take time to get the message...JOB CANCELLED ..etc.
This might be due to low CPU % given to logon IDs at certain time..i.e when the mainframe CPU is quite loaded (Just a wild guess Idea ).
_________________
Regards,
Shivprakash
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Feb 04, 2004 5:35 am    Post subject: Reply with quote

balamin,

Try issuing the command CDA

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Feb 04, 2004 9:58 am    Post subject: Reply with quote

Look at the SYSLOG to see if the cancel command took. If this is running under the control of another application, such as IMS, you can't cancel it this way.
Back to top
View user's profile Send private message
lal
Beginner


Joined: 21 Oct 2003
Posts: 70
Topics: 25

PostPosted: Thu Feb 05, 2004 6:36 am    Post subject: Reply with quote

Hi Kolusu,
I couldn't get where we have to give command CDA..could you be bit clear regarding this tha where to give this command???
Thanx in advance

Regards,
lal
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Feb 05, 2004 6:42 am    Post subject: Reply with quote

lal,

You can issue the CDA command just like any other command (P, C..) .i.e type CDA on the extreme left side of the jobname.

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Thu Feb 05, 2004 8:08 am    Post subject: Reply with quote

kolusu,
"Invalid command" is what i get
Cheers,
Coolman.
________
cheap glass pipes


Last edited by coolman on Sat Feb 05, 2011 1:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Thu Feb 05, 2004 8:14 am    Post subject: Reply with quote

Coolman,
Did you try this on a job which is active ? I think you will get invalid command if the job already finished execution.

Sreejith
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Thu Feb 05, 2004 1:06 pm    Post subject: Reply with quote

What exactly is this cda command? How does it differ from the regular cancel and purge command?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Feb 05, 2004 1:18 pm    Post subject: Reply with quote

Mfjin,

The CDA command works exactly the same way as the CANCEL command. This command will be useful to cancel when the job is execueting. I just want to point out that cancel and purge commands work differently. If you issue a cancel command it will just cancel the job , but the job output is still available, but on the other if you issue a purge command , it not only cancels the job but also will delete the entire the job output.

Check this link for a detailed explanation of Action Characters on the SDSF Panels

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Thu Feb 05, 2004 1:30 pm    Post subject: Reply with quote

Thanks Kolusu. So the CDA is exactly the same as C. So do you see a possibility of cda succeeding in cancelling the job when c is not working?

Bala,
And regarding jobs not getting cancelled, this is possible if your job is busy recalling migrated datasets. Once the datasets have been recalled you will get your cancelled message.
Back to top
View user's profile Send private message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Thu Feb 05, 2004 9:54 pm    Post subject: Reply with quote

Hi All

Thanks for your valuable inputs. In fact nothing worked for me, Actually the problem was with Db2 subsystem which my job was using. The db2 log files were running out of space but the job was not abending( Quite strange), But if I go to
DB2AMSTR job and see it was printing Message like SB37 -04 by that we could able make out that this is a space problem in DB2,

Thanks Kolusu for your inputs

Hi Mfjin, Actually the main difference between 'C' and CDA is C will just give output where as CDA will produce runtime Dump for the particular Job


Bala
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group