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
 

 

START Command in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Fri Jun 03, 2016 3:49 pm    Post subject: START Command in CICS
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: 78
Location: India

PostPosted: Fri Jun 03, 2016 3:51 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jun 03, 2016 5:09 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Fri Jun 03, 2016 5:13 pm    Post subject:
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: 78
Location: India

PostPosted: Fri Jun 03, 2016 5:37 pm    Post subject:
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: 78
Location: India

PostPosted: Fri Jun 03, 2016 5:38 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Fri Jun 03, 2016 6:12 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jun 03, 2016 8:13 pm    Post subject: Reply to: START Command in CICS
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Fri Jun 03, 2016 10:24 pm    Post subject:
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: 331
Location: USA

PostPosted: Sat Jun 04, 2016 2:01 am    Post subject: Reply to: START Command in CICS
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Sat Jun 04, 2016 2:42 am    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Sat Jun 04, 2016 2:59 am    Post subject:
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: 78
Location: India

PostPosted: Mon Jun 06, 2016 5:51 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Wed Jun 08, 2016 8:31 pm    Post subject:
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: 78
Location: India

PostPosted: Sun Jun 12, 2016 12:39 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Sun Jun 12, 2016 6:57 pm    Post subject:
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: 78
Location: India

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

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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Mon Jun 13, 2016 3:00 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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