Need jcl which will purge the task running in CICS region.



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Need jcl which will purge the task running in CICS region.

Postby progressabhi1 » Mon Jul 21, 2008 12:29 pm

Hi

Can any one guide me regarding writing of jcl which will force purge the job running for some transaction in the CICS region.
Below,I'm mentionnig the details.

1.As we know for every running transaction;we see several tasks running in CICS region.
2.Suppose if you want to purge those tasks, you need to write 'F' in front of the task to purge it.
3. The 2nd step what I mentioned above ; I want to do it through some job.


Regards
Abhishek Kr
progressabhi1
 
Posts: 17
Joined: Tue Apr 01, 2008 6:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need jcl which will purge the task running in CICS region.

Postby dick scherrer » Mon Jul 21, 2008 10:10 pm

Hello,

You need to talk with your CICS Systerm Programmer and ask what might be available on your system to do this.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Need jcl which will purge the task running in CICS region.

Postby progressabhi1 » Wed Jul 23, 2008 7:26 pm

Hi

Thanks Dick for your response.
I will try this from my side.
But,the help I needed is ; if is it possible to write some jcl to do the mentioned task
can anyone send me the template or any link to get an idea to compose the same.

Regards
Abhishek Kr
progressabhi1
 
Posts: 17
Joined: Tue Apr 01, 2008 6:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need jcl which will purge the task running in CICS region.

Postby Bill Dennis » Thu Jul 24, 2008 2:11 am

Where do you normally "see" the tasks so that you might type an F in front of it? On a monitor such as OmegaMon?

Or do you issue a line command at a system console?
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need jcl which will purge the task running in CICS region.

Postby progressabhi1 » Thu Jul 24, 2008 11:59 am

Hi Bill

Thanks for your reply.
This time I'm not able to send you the screenshot as attachement(may be it is not enabled for me).
But,I'll tell you know so that you can see my query.
Below is the steps you need to take to understand my query :

1.Logon in CICS region.
2 On the panel you type
CEMT I TA TRAN(*)
Note:- Instead of '*' you can give any transaction name which if; by mistake you purge also
it don't harm the system(later on you can start this,just for sake i said).
3. You will be seeing many tasks running LIKE
******************************************************************************************************************************
I TA TRAN(DM*)
STATUS: RESULTS - OVERTYPE TO MODIFY
Tas(0022384) Tra(DM01) Sus Tas Pri( 001 )
Sta(S ) Use(D19302 ) Uow(C2BBB82EB30B5084) Hty(MQSeries)
*******************************************************************************************************************************
4.Now,In order to stop this Online tasks you need to purge it.As for eg. mentioned below:
==========================================================================================
I TA TRAN(DM*)
STATUS: RESULTS - OVERTYPE TO MODIFY
Tas(0022384) Tra(DM01) Sus Tas Pri( 001 ) F
Sta(S ) Use(D19302 ) Uow(C2BBB82EB30B5084) Hty(MQSeries)
==========================================================================================
5.This will stop the particular instance of transaction running.

This work I need to do through JCL so that if around 100 - 1000 transactions if;running i will be able to purge it
in one go.

I think above description will help you to understand my query.

Regards
Abhishek Kr
progressabhi1
 
Posts: 17
Joined: Tue Apr 01, 2008 6:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need jcl which will purge the task running in CICS region.

Postby dick scherrer » Thu Jul 24, 2008 12:36 pm

Hello,

Please look at the reply to your other topic about how to send screenshots. Bacically, that reply requests you to not use screenshots. COPY/paste and the "Code" tag do a much better job than a screenshot.

What situation makes it proper to purge 100 or 1000 CICS transactions? I'd suggest you get permission (preferable in writing) to implement some kind of wholesale purge. Some of the organizations i have supported feel so strongly that they have terminated people for wholesale purging of jobs in JES, transactions in CICS, and database transactions.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Need jcl which will purge the task running in CICS region.

Postby progressabhi1 » Thu Jul 24, 2008 12:53 pm

Hi Dick

You are very correct in your view.
But,In the environment where I'm working is completely testing environment.Here,I can do R&D also.
Also,I want to purge tasks which will be defined by us.
Like what i mentioned in my previous example i.e.
transaction name like "DM*" . So,it will wont be any system transaction.
I want that the jcl should identify the transaction's initial like "DM*" or "RB*" or "IF*" etc. and proceed further in
purging the tasks.

Regards
Abhishek Kr
progressabhi1
 
Posts: 17
Joined: Tue Apr 01, 2008 6:07 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post