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 transaction not working

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

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Fri Oct 29, 2010 12:14 am    Post subject: start transaction not working
Reply with quote

Hi,

I want to know is there any problem if i m starting transaction 2 times (one after another) on a same terminal repeatedly ,

actually i was trying to make a communicator out of CICS in it i am invoking a same transaction on a terminal and after enter key is pressed on next terminal every think is working fine if i am doing it one after the other ( one line from each termianl),

the problem i am facing is when i am trying to invoke the same transaction twice on same terminal(trying to fetch 2 lines or 2 enters)..
because on start transaction response code is coming 00000000 but it is not invoking transaction on the next screen now.

please help.
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 Oct 29, 2010 12:42 am    Post subject: Reply to: start transaction not working
Reply with quote

Could you please explain what you're trying to do a little better?

To be honest, I think you need to start all over with CICS fundamentals.

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

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Fri Oct 29, 2010 12:46 am    Post subject: re
Reply with quote

ok let me explain.

actually my communicator is working fine if i am taking one line each time from each terminal,
but as i am trying to fetch (one line) one enter preceeded and then (another line) from same terminal by another enter it is giving response code as 0000000 but it is not starting transaction at next terminal..
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Oct 29, 2010 2:55 am    Post subject:
Reply with quote

gee, if you would only read the CICS application programmers reference manual , you will find the answer

it describes exactly the problem you are having with starting tasks at same terminal
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Oct 29, 2010 3:14 am    Post subject:
Reply with quote

Careful Earl,
some politically correct SOB will complain that you are not providing the information requested.

in this day and age, programmers are apparently not expected to read the manual.
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Fri Oct 29, 2010 12:45 pm    Post subject: re
Reply with quote

Hi ,
by that SOB you mean me ??.

and by the way i seriously went to this full pdf of CICS programing guide i am provided with but didn't got the answer, please atleast give me the link or tell me the problem..

thanks & regards..
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 Oct 29, 2010 3:36 pm    Post subject: Reply to: start transaction not working
Reply with quote

Rather than IBM manuals, do you have any aftermarket CICS books for reference?

I still think you need to start all over with CICS fundamentals and I still don't understand your "Communicator" concept and what you're trying to achieve?

What exactly are the business requirements?

Is this a pre-emptive "Screen Stealer" task?

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

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Fri Oct 29, 2010 4:06 pm    Post subject: re
Reply with quote

Hi,

Yes i Checked the manuals and there i found out that i should change it attributes in RDO to RESTART=YES..
but i do not have privelege to use CEDA

so any other way so that i can start (consecutive) transactions one after the other at same terminal ???
or anyother way to change attributes of my transaction ??.

thanks..
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 29, 2010 8:28 pm    Post subject:
Reply with quote

Hello,

I'm probably missing something, but why can you not simply have each transaction start the next once the first transacton has been started?
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Fri Oct 29, 2010 8:32 pm    Post subject: re
Reply with quote

Actually it is needed,
if i have missed some thing or sent a wrong value..
so if i want to change that value
i need to trigger the transaction again with corrected value on the same terminal ...
but its not triggering even when i m getting response code normal...
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 29, 2010 9:12 pm    Post subject:
Reply with quote

Hello,

What you describe is editing the input and processing accordingly (if i understand).

There is no reason to use something non-standard. CICS application programmers have been editing panel data and showing errors and moving to the "next" transaction for about 40 years.

The application simply needs to be coded so that the proper sequence is followed.

Suggest you look at other CICS code in use on that system and follow the same approach for navigating screens/transactions. It is most unlikely that you have found a business requirement that is so unique that it requires a non-standard solution.

Again, i may be misunderstanding something. . .
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sun Oct 31, 2010 10:52 pm    Post subject:
Reply with quote

ankit saxena

since you can't understand the CICS manuals regarding start rules,

then use a cics debug tool.

If you don't have Vendor software debugger, then ask one of your
co-workers how to use the CICS supplied debug transaction CEDF.

The other option is to post your program that issues the start
command and maybe somone on this forum can resolve it for you.
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Mon Nov 01, 2010 12:07 pm    Post subject:
Reply with quote

Hi Earl,

I have read those manuals and they say I should first change my RDO option as RESTART = YES,
AND as per my code is concerned that is giving response code =0000000
but still it is not triggering..
thats why i ask that if anybody know any other way???
Back to top
View user's profile Send private message
Abhishek_Indore

New User


Joined: 20 Oct 2010
Posts: 6
Location: INDIA->US->UK

PostPosted: Mon Nov 01, 2010 2:35 pm    Post subject:
Reply with quote

I think ,U should use either CEDF or use any online application debugger like Intertest or endevour to see why the start command is not triggering. I m sure, if u are using the start syntax correctly and called transaction is correctly setup on the CICS tables then start command should trigger the new transaction.
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Mon Nov 01, 2010 3:37 pm    Post subject:
Reply with quote

Hi Abhi,

Code is working fine only when i m trying to trigger twice on the same terminal(screen) then only its not working,
this is because one of transaction option RESTART sould be set to YES by CEDA..

icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Nov 01, 2010 3:46 pm    Post subject: Reply to: start transaction not working
Reply with quote

triggering twice the same transaction on an interactive terminal might cause lots of unpredictable issues...
the proper way of doing it is to issue them in chains one at the time from the active transaction

transid0(active) ==> start transid1 and stop there

at this point
transid1(active) ==> start transid2

the flow might get changed by user data entered in transid1
so the transid started second from transid0 might find an out of sync situation

the best thing to do would be to review the whole process
in order to issue only one start transid for each task ( on an interactive terminal )
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Thu Nov 04, 2010 3:05 am    Post subject:
Reply with quote

If your program logic is coded to execute multiple EXEC CICS START
commands for the same transaction at same terminal, CICS will
only start ONE transaction.
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 Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm
No new posts Event-driven programming (BTS) VS (ST... Rohit Umarjikar CICS 2 Sat Jun 11, 2016 2:05 am
No new posts 2 same CLIST pgm but with different n... boyti ko CLIST & REXX 5 Fri Jun 03, 2016 4:55 pm


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