View previous topic :: View next topic
|
Author |
Message |
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
|