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


Please Help Members By Posting Answers For Below Questions

EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2051


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


How to print 10 to 1 if the input have only 10 digit number?

805


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

668


What type of SDLC u followed? Why?

1515






how do you reference the rrds file formats from cobol programs

790


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

729


What is the use of intialize verb?

739


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2097


explain sorting techniques in cobol program?

685


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1911


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

669


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

737


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

814


A table has two indexes defined. Which one will be used by the SEARCH?

751