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

Run a CICS program without executing the paras twice


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

New User


Joined: 18 Aug 2006
Posts: 10
Location: india

PostPosted: Tue Jul 10, 2007 4:46 pm
Reply with quote

I have a cics application program newly written.
it is being called thru xctl from some other application.
What is happening is that same set of paras are getting executed twice and instead of following the flow written in the program the next para written after the a particular para is executed is being executed.
how can i run this program without executing the paras twice.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jul 10, 2007 5:00 pm
Reply with quote

Simply put, the program is probably executing exactly as you wrote it. If some paragraphs are executing twice, you have to look at the logic to determine why.
Back to top
View user's profile Send private message
balarules

New User


Joined: 18 Aug 2006
Posts: 10
Location: india

PostPosted: Tue Jul 10, 2007 5:21 pm
Reply with quote

Is it due to the reason that we donot have a transaction id for the program.is that the reason why it is not following the pseudo conversation.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jul 10, 2007 5:28 pm
Reply with quote

If the program is XCTLed to, it does not need a transaction ID.
Back to top
View user's profile Send private message
balarules

New User


Joined: 18 Aug 2006
Posts: 10
Location: india

PostPosted: Tue Jul 10, 2007 5:40 pm
Reply with quote

but when my program is xctled.it is going in the loop that i explained above.is there a solution to it?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Jul 10, 2007 5:50 pm
Reply with quote

balarules wrote:
but when my program is xctled.it is going in the loop that i explained above.is there a solution to it?


Careful programming
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Tue Jul 10, 2007 10:40 pm
Reply with quote

sounds to me like you have logic problems in your code.

can you post some of your code, so we can better help you?
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top