How to delete the records of a dataset through cobol
programme?We should not use jcl utilitities like IDCAMS.
Answer Posted / vivek chandrasekaran
If the file we are using is VSAm file then we can go for Key mentioned,
If it is a sequential file we have to read till the 49th record then needs to delete the 50th record, this is the main disadvantage with Sequential files.
Syntax for deleting record.
DELETE file_name RECORD
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain how you can characterize tables in cobol?
) How do u handle errors in BMS macro
IF I mention stop run in CICS what happens?
Write down the divisions of cobol program?
What are 77 levels used for?
how can i see junk values in dclgen or in hostvariable of comp ?
Differentiate between structured cobol programming and object-oriented cobol programming.
How are the next sentence and continue different from each other?
Write the code implementing the perform … varying.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Which Search verb is equivalent to PERFORM…VARYING?
how do you reference the ksds vsam file formats from cobol programs
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do you reference the following file formats from cobol programs?
Why did you choose to work with ibm mainframe cobol programming?