Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need Help on flex utility to CHANGE field in IMS database

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Need Help on flex utility to CHANGE field in IMS database
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Jan 27, 2012 7:25 pm    Post subject: Reply to: Need Help on flex utility to CHANGE field in IMS d
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    Post subject: Reply to: Need Help on flex utility to CHANGE field in IMS d
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts 2 byte YEAR from Y'DATE2' field tecnokrat DFSORT/ICETOOL 2 Tue Feb 07, 2017 12:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us