How you can delete a record from a ps file in cobol?



How you can delete a record from a ps file in cobol?..

Answer / shib

No we can not...we can skip a record logically and write the file.

https://www.ibm.com/docs/en/cobol-aix/5.1?topic=mode-file-organization-access

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is file status 39 ?

10 Answers   JPMorgan Chase,


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


How To move a value to an array using move verb?

3 Answers   IBM,


What guidelines should be followed to write a structured cobol prgm?

0 Answers  


How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?

1 Answers   CGI,






wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,


What is the use of intialize verb?

0 Answers  


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


What do you understand by passing by reference and passing by content?

1 Answers  


Categories