View previous topic :: View next topic
|
Author |
Message |
phani.mf2011
New User
Joined: 15 Apr 2011 Posts: 17 Location: india
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
phani.mf2011
New User
Joined: 15 Apr 2011 Posts: 17 Location: india
|
|
|
|
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 |
|
|
|