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

start transaction not working


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Oct 29, 2010 12:42 am
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
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
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
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Oct 29, 2010 3:36 pm
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
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

Moderator Emeritus


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

PostPosted: Fri Oct 29, 2010 8:28 pm
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
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

Moderator Emeritus


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

PostPosted: Fri Oct 29, 2010 9:12 pm
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
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
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Mon Nov 01, 2010 3:46 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts Passing containers on START command CICS 4
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
Search our Forums:

Back to Top