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 |
Describe the cobol database components?
When is a scope terminator mandatory?
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
In INITIALIZE what is Repalcing Word will do
what is the difference between perform varying and perform until
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
How do you define a variable of comp-1 and comp-2?
If we use GO BACK instead of STOP RUN in cobol?
how would you resolve sb37 and SE37?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length