How you can delete a record from a ps file in cobol?
Answer Posted / 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 View All Answers
What is perform what is varying?
Which Search verb is equivalent to PERFORM…VARYING?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is rmode(any) ?
what is amode(24), amode(31), rmode(24) and rmode(any)?
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.
How do you define a variable of comp-1 and comp-2?
What rules are followed by the search verb.
how can i see junk values in dclgen or in hostvariable of comp ?
What is redefines clause in COBOL?
What is difference between static and dynamic call in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
When is inspect verb is used in cobol?
explain sorting techniques in cobol program?