Can you REWRITE a record in an ESDS file? Can you DELETE a
record from it?
Answer Posted / piyush mani
original record
01 piyush gurgaon
rewrited record
01 piyush delhi
wrt fd like this
fd file1
01 frec.
02 id pic 9(2) value 01.
02 name pic x(10) value piyush.
02 place pic x(10) value delhi.
02 filler pic x(68).
now open file and give rewrite option the record wil b updated
but we can't delete a esds record as it is stored in disc...
Thanks
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What are the different rules to perform a Search?
What are different data types in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How do you differentiate between cobol and cobol-ii?
What are the different open modes available in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
example for sub strings ? and refernce modifications whit output pls
What are the different rules of SORT operation?
What is amode(31)
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between comp and comp-3 usage?