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
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to print 10 to 1 if the input have only 10 digit number?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What type of SDLC u followed? Why?
how do you reference the rrds file formats from cobol programs
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 use of intialize verb?
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
explain sorting techniques in cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Can we redefine the field of x(200) to less than 200?
A table has two indexes defined. Which one will be used by the SEARCH?