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

Reg: CICS START command


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

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Tue Dec 22, 2009 5:59 pm
Reply with quote

Hi All,
My requirement is to start another transaction after some interval.
I used START command to trigger next transaction using AFTER function The start command was executed successfully but the program was not run.

Please check and let me know will it work or not

Code:

EXEC CICS START                 
          TRANSID(TRAN-ID)
          FROM(DATA)   
          AFTER SECONDS(60)     
          RESP(EIBRESP)   
          RESP2(EIBRESP2) 
          PROTECT               
END-EXEC.     
                 


do you have any simple method to do this ?

Thanks in advance.

Thanks
Ram
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: Tue Dec 22, 2009 6:12 pm
Reply with quote

The program associated with the TRAN-ID should be issuing a RETRIEVE.

Also, the STARTCODE must be "SD".

How do you know it didn't start?

Do you have authority to monitor this transid using CEDX?

Are you sure you need to specify PROTECT? It's not used too often.

Too many unanswered questions.

More information is needed....

Bill
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Tue Dec 22, 2009 6:51 pm
Reply with quote

Please find my answer for the above question.
How do you know it didn't start?
1. I am updating the table when we called the next transaction
2 And also i put break point thru intertest to watch the program.
Control never to the program.
3. Protect wont be impact because when we try without after it is working fine

Thanks
Ram
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: Tue Dec 22, 2009 7:27 pm
Reply with quote

Have you checked MSGUSR in SDSF for an error while attempting to start this transaction in the given region?

What is the length of DATA (in the FROM parm)?

By default, the userid currently assigned to the task issuing the START is carried over as the USERID (under the covers), as part of the START API, by your ESM (RACF, ACF2, Top Secret, etc).

Have you tried CEDX?

It was introduced with CICS/ESA 4.1 (about 15-17 years ago), as a means to monitor a non-terminal oriented task, mimicking that of CEDF.

Syntax: CEDX XXXX (XXXX is the transid).

Bill
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Dec 29, 2009 4:13 am
Reply with quote

perform CEMT I PROGRAM on target program that is to be started.

note the usecount of program


run your program that starts the target transaction


wait the 60 seconds

perform CEMT I PROGRAM on target program.

usecount should have increased.

if not, THEN YOU ARE NOT STARTING THE TRANSACTION
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