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

Answer Posted / mani

If you open the dataset in io mode can't we delete the
record, i think we can.
If it is a flat file or vsam file i think we can delete the
record but the space being used for that will not be recovered.

Please check it.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between next sentence and continue in cobol programing language?

695


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5662


how do you reference the fixed unblock file formats from cobol programs

698


How do you get the data to code the BMS macro?

1470


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1919






In COBOL programming, what is PERFORM? What is VARYING?

664


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

666


how do you reference the esds vsam file formats from cobol programs

625


Name some of the examples of COBOl 11?

2671


What is a scope terminator give example?

650


Name the sections present in data division.

691


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

461


Difference between array and sub-script ?

1151