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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
what is search and searchall?what is the diffrence between them?give an best example?
How many bytes S(8) comp field occupy and its maximum value?
how can i see junk values in dclgen or in hostvariable of comp ?
What is the Purpose of Pointer in the string?
How to print 10 to 1 if the input have only 10 digit number?
Write the code implementing the perform … varying.
What is the utilization of copybook in cobol?
Name the divisions, which are available in a cobol program?
What are literals?
How do you reference the following file formats from cobol programs?
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 happens if parmparameter passes zero bytes to the program
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What rules are to be followed while using the corresponding options?