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
 
same checkpoint id is taken everytime .

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Mon Oct 05, 2009 1:09 pm    Post subject: same checkpoint id is taken everytime .
Reply with quote

Hi,

i am getting same CKPTID in my checkpoint call after restart while i am moving a new order no before taking checkpoint .
Code:

3200-TAKE-CHECKPOINTS.                                       
* DMISEDA                                                   
    DISPLAY ' 3200-TAKE-CHECKPOINTS'.                       
    DISPLAY ' WS-PBCC-ORDER ' WS-PBCC-ORDER.                 
* DMISEDA                                                   
                                                             
    INITIALIZE WS-CHKP-COUNT.                               
    MOVE WS-PBCC-ORDER                TO WS-CHKP-ORDER-NUM. 
    ADD  WSN-1                        TO WS-CHKP-COUNT.     
    MOVE SYSTEM-TIME                  TO WS-CHKP-TIME.       
                                                             
* DMISEDA                                                   
    DISPLAY ' WS-CHKP-ORDER-NUM ' WS-CHKP-ORDER-NUM.         
* DMISEDA                                                   
    CALL 'CBLTDLI' USING CHKP                               
                         IO-PCB                             
                         WS-CHKP-IO-LEN                     
                         WS-CHKP-IO-AREA-ID                 
                         WS-CHKP-AREA-LEN                   
                         WS-CHKP-XRST-AREA.                 




Code:
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093752208179-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093752435837-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093752660605-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093752815523-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093752962074-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093753144438-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093753280964-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093753431788-0400 IMSP                 
*EXTENDED CHECKPOINT* PROGRAM=IGUU0069,CKPTID=05374200,REGID=002A,DAY=277,
*EXTENDED CHECKPOINT* DAY=277,TIME=093753546453-0400 IMSP               



Please help me out in solving the problem.
This has become a very critical issue in my project.

Thanks,
Ekta
Back to top
View user's profile Send private message

siva1110

New User


Joined: 01 Sep 2007
Posts: 5
Location: singapore

PostPosted: Mon Oct 05, 2009 4:43 pm    Post subject:
Reply with quote

hi

pls check following type of code correct in your prg.
check CHECK-FOR-RESTART in initialization paragraph
issue restart call
W001-XRST-ID-CNTR value will be generated by your restart call

IF W001-XRST-ID = SPACE
PERFORM NORMAL-START-PROGRAM
ELSE
PERFORM RESTART-PROGRAM
END-IF


MOVE W001-XRST-ID-CNTR TO W001-CHKP-NUM
ADD WSL300-1 TO W001-CHKP-NUM
MOVE W001-CHKP-NUM TO W001-CHKP-ID-CNTR
issue checkpoint call

with regards
sivakumar.v
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Oct 06, 2009 11:15 am    Post subject: Reply to: same checkpoint id is taken everytime .
Reply with quote

Thanks for your help Siva.

I was incrementing thw wrong variable and took checkpoint counter length as 9(7) instead of 2 so it was giving 00 always same.

Thanks,
Ekta
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 Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm
No new posts Query about IMS extended checkpoint u... sivasaras IMS DB/DC 5 Mon Sep 08, 2014 7:59 pm
No new posts A checkpoint counter sets at 100,need... N.Kotivamsi IMS DB/DC 13 Wed Jul 25, 2012 8:50 pm
No new posts Doubt on checkpoint restart logic abdulrafi IMS DB/DC 10 Wed Jan 04, 2012 4:43 pm
No new posts IMS checkpoint issue/honor Banuchandar IMS DB/DC 5 Mon Feb 21, 2011 9:44 pm

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