Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
New transaction - Transaction get triggers not the program..

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: New transaction - Transaction get triggers not the program..
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    Post subject: Let's check something.
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    Post subject:
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    Post subject: Could you please try this?
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us