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

I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?

3 Answers   IBM,


what happens if we wont give timestamp in precompilation process ?

4 Answers   Covansys,


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,


I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?

3 Answers  






how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


Are you comfortable in cobol or jcl?

0 Answers  


how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


What is SQL Code -904 and -903 in DB2 And how to handle it?

1 Answers   IBM,


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

0 Answers  


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


Categories