Can you REWRITE a record in an ESDS file? Can you DELETE a
record from it?
Answers were Sorted based on User's Feedback
Answer / max
ESDS is entry sequence data set...ans 2 is correct
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / srivatsa
We can rewirte the record. Record can not be deleted.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / yadav
we cant delete record from ESDS file but we can rewrite
record of same lenth at the position of preveous record
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / 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 |
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
Is It Possible to Update or change in VIEW Mode?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."
I know my query will return more than one row but I don't want cursor what should I do?
What is the difference between NEXT SENTENCE and CONTINUE?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
Can we use icetool in cobol program?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
What is the default value(s) for an initialize and what keyword allows for an override of the default?