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

which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1032


what is search and searchall?what is the diffrence between them?give an best example?

5583


How many bytes S(8) comp field occupy and its maximum value?

1644


how can i see junk values in dclgen or in hostvariable of comp ?

2552


What is the Purpose of Pointer in the string?

651






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

822


Write the code implementing the perform … varying.

648


What is the utilization of copybook in cobol?

667


Name the divisions, which are available in a cobol program?

697


What are literals?

638


How do you reference the following file formats from cobol programs?

702


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.

1125


what happens if parmparameter passes zero bytes to the program

1673


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

836


What rules are to be followed while using the corresponding options?

647