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

START Command in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Fri Jun 03, 2016 3:49 pm
Reply with quote

Hello

My module starts a transaction with a start command as follows:

Code:

     EXEC CICS START                     
*                INTERVAL(000015)         
                 TRANSID(WS-TASK-TRANSID)
                 FROM(DFHCOMMAREA)       
                 LENGTH(EIBCALEN)         
                 END-EXEC.               


I commented out the interval command. It was not commented in original code.

However in both the cases the transaction does not appear running. I put a display exactly before this command and exactly after this and both appear in the logs.

I also put a display in the module called by this transaction but that display does not appear in the logs. No error in the logs. Transaction seems to be defined correctly in the CICS region.

Please advise.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Fri Jun 03, 2016 3:51 pm
Reply with quote

I dont have an Xpediter and CEDF takes too much time to get in here (There are many modules before this).
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Jun 03, 2016 5:09 pm
Reply with quote

Have you checked that the initial program for the task is defined and available? Also, it's usual to code with the TRANSID specified immediately after the START e.g.
Code:
                EXEC CICS START                             
                            TRANSID(WS-TASK-TRANSID)       
                            INTERVAL(000015)               
                            FROM(DFHCOMMAREA)               
                            LENGTH(EIBCALEN)               
                            END-EXEC.                                 


Garry
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 03, 2016 5:13 pm
Reply with quote

Quote:
I also put a display in the module called by this transaction but that display does not appear in the logs. No error in the logs. Transaction seems to be defined correctly in the CICS region.
The transaction could be running in a different region.
The transaction program could be defined in a data set higher in the DFHRPL concatenation than the one you are changing.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Fri Jun 03, 2016 5:37 pm
Reply with quote

it seems ok

Code:

 I TRA(VSET)                                                 
 STATUS:  RESULTS - OVERTYPE TO MODIFY                       
  Tra(VSET) Pri( 001 ) Pro(VSET0912) Tcl( DFHTCL00 ) Ena Sta
             Prf(XXXXV4AP) Uda Any Iso               Bac Wai
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Fri Jun 03, 2016 5:38 pm
Reply with quote

I changed the order of TRANSID and interval as well, but of no use. I checked the Load Libraries in CICS JCL and they are fine.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 03, 2016 6:12 pm
Reply with quote

Have you discussed the issue with your site support group? They should be your FIRST point of contact for site-specific issues such as this.
Quote:
I checked the Load Libraries in CICS JCL and they are fine.
This is completely unresponsive to my suggestion that the program could be loading from a library other than the one you are compiling into. Furthermore, did you check the STEPLIB or DFHRPL? They are different and have entirely different purposes; merely saying you checked "the Load Libraries" (sic) does NOT tell us which you were looking at.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jun 03, 2016 8:13 pm
Reply with quote

If it's truly a local TRANSID, just before invoking the program which issues the START, issue a CEDX VSET, which is the non-terminal version of CEDF.

If it's REMOTE, log into the REMOTE region and issue the same CEDX VSET.

You get the same screens as CEDF except, EIBTRMID = LOW-VALUES.

Hopefully, you have CEDX access. icon_eek.gif

HTH....
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Fri Jun 03, 2016 10:24 pm
Reply with quote

Quote:
However in both the cases the transaction does not appear running.
How do you know this for sure? Did your CICS support told you or did some incomplete look up by your own? How does Display help you here? Do you have any tool like Omegamon where you can see the started task? why do you not show us both the transaction definition?
Last but not the least verify this.
Code:
You can use INQUIRE commands to ensure that the transaction and program are enabled at the time of the START command, but either might become unavailable before task creation.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Sat Jun 04, 2016 2:01 am
Reply with quote

Your displays suggest that the transaction was never started. So, have you checked the resp conditions? What do they tell?

.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Sat Jun 04, 2016 2:42 am
Reply with quote

Quote:
So, have you checked the resp conditions? What do they tell?
if what I say above <Highlighted> is true for the situation TS into then that's treated as an exception where CICS don't set any error , that is my understanding else right, TS should look for resp code and move further accordingly.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jun 04, 2016 2:59 am
Reply with quote

Have you verified whether or not the program is being executed by using CEMT I PROG(VSET0912) before the transaction and then again after the transaction, checking to see that the USECOUNT increases between the two CEMT commands?
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Mon Jun 06, 2016 5:51 pm
Reply with quote

thanks for suggestions everyone. I will try these and update.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Wed Jun 08, 2016 8:31 pm
Reply with quote

Please let us know what was missing part ,so that others can get benefited.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Sun Jun 12, 2016 12:39 pm
Reply with quote

Sorry Rohit, was on holidays for few days. The displays are dependent on a flag which is stored in a queue and the flag was turned off . I turned that flag on and displays are visible. Thanks a lot.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Sun Jun 12, 2016 6:57 pm
Reply with quote

So it was kicking off the transaction then.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Mon Jun 13, 2016 1:42 pm
Reply with quote

yes
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Mon Jun 13, 2016 3:00 pm
Reply with quote

in future don't really test these functions by just displays and CICS never meant to test by that so look for the other options suppiled in this post to ensure the transactions are really started also talk to site support to know this all if you cant do it by yourself but now you know.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top