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 do you understand by psb and acb?

0 Answers  


How can you declare the file ?

1 Answers   Wipro,


plz,could any one tell me? what about EBCDIC in cobol?briefly?

1 Answers  


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 are the divisions in a cobol program? Which one is the mandatory division among them?

1 Answers  






Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.

3 Answers   iGate,


WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


What are the various section in data division and briefly explain them.

0 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


wht is the difference between goto and perform stmts

7 Answers   DELL,


What is an index for tables?

2 Answers  


Categories