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

Need Help on flex utility to CHANGE field in IMS database


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
phani.mf2011

New User


Joined: 15 Apr 2011
Posts: 17
Location: india

PostPosted: Fri Jan 27, 2012 7:09 pm
Reply with quote

Hi All,

I am very new to IMS and trying to replace or change a field in IMS database with the below control card

Code:
TYPE                                                                 
    RUN                                                               
    ;                                                                 
PSB                                                                   
    DBNAME=CR50MSCA                                                   
    ;                                                                 
SET                                                                   
    CHECKPOINT=250                                                   
    ;                                                                 
TITLE                                                                 
    LINE01='REPLACE FILELDS OF DATABASE=CR50MSCA'                     
    ;                                                                 
SELECT                                                               
    SEGMENT=CR50ARCD                                                 
    WHERE                                                             
    ARCD-SVB-ORIGIN-OF-TRBL =  '952705'                               
    AND ARCD-ORIGIN-TRBL-NUM = '03800'                               
    AND ARCD-SVG-BUREAU-ID = C'BMP   '                               
    AND ARCD-LOCAL-TRBL-NUM  = '00000'                               
    AND ARCD-ANC-DT-WK-START = '20090601'                             
    AND ARCD-ANC-TM-WK-START = '0655'                                 
    MAX=ALL                                                           
CHANGE                                                               
    SEGMENT=CR50ARCD                                                 
    OPTION=PATH                                                       
    SET =(ARCD-BL-COMPL-DT-YY=11,                                     
                        ARCD-BL-COMPL-DT-MM=10,ARCD-BL-COMPL-DT-DD=01)


but getting below error
Code:
B520 POSSIBLE SECONDARY INDEX UPDATE. NEED BKO=YES AND DISK LOG
B109 END OF VALIDATE PHASE DUE TO END OF FILE ON INPUT, RC=8   
B112 VALIDATE ERRORS PREVENT PROCEEDING TO EXECUTE PHASE       


but the same is working with PRINT option in control card as below
Code:
                               
TYPE                           
    RUN                         
    ;                           
PSB                             
    DBNAME=CR50MMSA             
    ;                           
TITLE                           
    LINE01='DISPLAY USO BASE'   
    ;                           
SELECT                         
    SEGMENT=CR50MMSO           
    MAX=1                       
PRINT                           
    SEGMENT=CR50MMSO           
    OPTION=(FPRINT)             
    FIELD=(MMSO-USO-BASE)       


The issue seems to be with CHECKPOINT

Can some please help on this
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10803
Location: italy

PostPosted: Fri Jan 27, 2012 7:25 pm
Reply with quote

read the manual/documentation of the tool You are using for the meaning and the actions for the B520 error message received

remember also that the chances of getting help for uncommon tools are pretty slim

the other two messages seem pretty self explanatory

also meditate on the fact that updating and just-reading a database are quite different beasts
Back to top
View user's profile Send private message
phani.mf2011

New User


Joined: 15 Apr 2011
Posts: 17
Location: india

PostPosted: Fri Jan 27, 2012 7:37 pm
Reply with quote

Yes I have looked into documents but unable to find the solution can some who work with FLEX JCL in IMS DB/DC please help me.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts AUTHORIZED database error in HALDB IMS DB/DC 2
No new posts Adding a header when change data DFSORT/ICETOOL 6
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts How to read unpacked field created in... DFSORT/ICETOOL 12
No new posts Negative value - packed field - Natur... Java & MQSeries 0
Search our Forums:

Back to Top