View previous topic :: View next topic
|
Author |
Message |
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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 |
|
|
Abhishek_Indore
New User
Joined: 20 Oct 2010 Posts: 6 Location: INDIA->US->UK
|
|
|
|
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 |
|
|
ankit saxena
New User
Joined: 06 Oct 2010 Posts: 55 Location: india
|
|
|
|
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..
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
|