hi, can you ppl tell me, how to check whether the rewrite
we gave for the ksds file is successful or not in the
program.? i gave rewrite, the rewrite code is executing and
maxcc=0 but updation doenot happen in the file?

Answer Posted / lu

In cobol batch program for KSDS,ESDS ,every time you write
or rewrite or delete,READ..you HAVE to check FILE-STATUS ...
Test FILE-STATUS !! Don't use INVALID KEY !!!

in CICS, you check EIBRESP....

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

676


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1948


What are the different types of condition in cobol and write their forms.

652


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5050


Write down the divisions of cobol program?

663






What is redefines clause in COBOL?

842


What is report-item in COBOL?

702


Explain how to differentiate call by context by comparing it to other calls?

680


What is perform what is varying?

698


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

989


Explain how you can characterize tables in cobol?

636


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1583


What is the difference between next sentence and continue in cobol programing language?

701


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

620


Can we redefine the field of x(200) to less than 200?

814