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
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
State the various causes of s0c1, s0c5 and s0c7.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Define static linking and dynamic linking.
Can a Search can be done on a table with or without Index?
What is the local-storage section?
What is a scope terminator give example?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is static and dynamic call in cobol?
Mention the guidelines to write a structured cobol program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the pertinent COBOL commands?
Write some characteristics of cobol as means of business language.
What kind of error is trapped by on size error option?