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

New transaction - Transaction get triggers not the program..


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
AshimSreedhar

New User


Joined: 18 Apr 2008
Posts: 10
Location: Canada

PostPosted: Fri Apr 03, 2009 11:35 pm
Reply with quote

Hi,

We have a transaction A, which triggers transaction B. This is an existing process, now we modified the program in such a way that transaction A will trigger a new transaction C also.

We created the transaction C by keeping B as the model transaction. Now the issue is in our testing is we are finding that the control is not going into the new program C. However the transaction ENQCT of C increases everytime.

If we stop the transcation C and triggers A then the QCT of C increases...(which is normal) but still the control is not going inside the program. In short new transaction is getting triggered, but program is not executing.

We have done PSB gen as well as ACB Gen. Please note that no changes has been made for Database or DBDs.

Any help on this would be appreciated..

Thanks!
Ashi
Back to top
View user's profile Send private message
dominickim

New User


Joined: 28 Feb 2007
Posts: 65
Location: NS, CA

PostPosted: Sun Apr 05, 2009 5:27 am
Reply with quote

As you said, ENQCT and QCT has been increased, It sounds like normal to me.

Let's check few things.
1. Does transaction C work well by itself?
2. What will happen in QCT if you use /STO PROG PROG-C it should be same as /STO TRAN TRAN-C that you did already, if not check IMS stage gen with MTO
3. Please check ALTPCB in PSBGEN for A transaction, are you going to use 2 ALTPCBs for each transactions or 1 ALTPCB with CHNG/PURG call?

I'm not sure it helps.
Back to top
View user's profile Send private message
AshimSreedhar

New User


Joined: 18 Apr 2008
Posts: 10
Location: Canada

PostPosted: Wed Apr 08, 2009 9:43 pm
Reply with quote

Hi...

Thanks for your response... I cross checked the points which you have mentioned.

1. When I just enter the transaction name alone, the ENQCT of the transaction increases. But yes in that case also neither the program abends nor the display statements i added at the beginning is getting displayed.

2. Yes the QCT increases when i trigger the transaction A after stopping the program C

3. In our case the program A is calling a sub program to trigger the transaction. So we are also re using the same sub-program. No changes are made in the sub program, only the input varies.

The trigger code in sub program is as

Code:

MOVE CC-PROG     TO PROG-NAME-SAVED
MOVE MODULE-NAME TO CC-PROG.       
CALL 'CIMS'  USING  ISCOM,         
                    PURG,         
                    ALT-PCB2.     
                                   
MOVE 'A1A4'  TO CC-ACCEPT-STATUS. 
CALL 'CIMS' USING ISCOM,           
                  CHNG,           
                  ALT-PCB2,       
                  LS-TRIGGER.     
                                   
IF CC-STATUS-CODE  NOT =  SPACES   
    MOVE PROG-NAME-SAVED TO CC-PROG
    GOBACK.                       
                                   
MOVE SPACES    TO CC-ACCEPT-STATUS.
MOVE LS-TRIGGER TO WS-TRIGGER.     
                                   
CALL 'CIMS' USING ISCOM,           
                  ISRT,           
                  ALT-PCB2,       
                  WS-TRANS.       
                                   
CALL 'CIMS'  USING  ISCOM,         
                    PURG,       
                    ALT-PCB2.   
                               
MOVE PROG-NAME-SAVED TO CC-PROG.
GOBACK.                         
Back to top
View user's profile Send private message
dominickim

New User


Joined: 28 Feb 2007
Posts: 65
Location: NS, CA

PostPosted: Thu Apr 09, 2009 4:28 am
Reply with quote

1, Make sure QCTs are zero before you start, if not ask MTO to DEQUEUE all entries for your transactions especially C.
2. Check your transaction class using DIS TRAN command
3. Issue STO REG reg# command with all related message regions, ask MTO if you don't have authority
4. Issue STA REG regname command with all regions that you stopped, ask MTO if you don't have authority
5. Enter your transaction again

or

Try BTS, XPED or Debugger if you have.
Back to top
View user's profile Send private message
AshimSreedhar

New User


Joined: 18 Apr 2008
Posts: 10
Location: Canada

PostPosted: Thu Apr 09, 2009 8:22 am
Reply with quote

Thanks again...

Yes i did verified the class of the transaction.
i also used Debug tool... After the call for the new transaction the control just comes out back into the Debug tool.. where as for the case that triggers transaction B control goes into the program B.

I dont have authority to stop and start a region, but will ask my System Ops team to do that.

Thanks for your reply. it is much appreciated.
Will update the forumn once the issue is resolved

Thanks!
Back to top
View user's profile Send private message
AshimSreedhar

New User


Joined: 18 Apr 2008
Posts: 10
Location: Canada

PostPosted: Fri Apr 10, 2009 12:31 am
Reply with quote

The properties of the transaction C is as

APPLCTN SCHDTYP=PARALLEL,FPATH=NO,PSB=PROGRAMC
TRANSACT CODE=TRANSC,ROUTING=NO,SEGNO=1000,SEGSIZE=0,
EDIT=(UC),MODE=SNGL,SCHD=3,PRTY=(00008,00009,00002),
PROCLIM=(00003,2),MSGTYPE=(MULTSEG,NONRESPONSE,002),
FPATH=NO,INQUIRY=(NO,RECOVER),SERIAL=YES

Where PROGRAMC and TRANSC are the name of the new PSB and transaction respectively. Which is similar to that of Transaction B
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts How to identify the transaction categ... IMS DB/DC 3
Search our Forums:

Back to Top