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 / nagesh
Fine I would like go with answer #2, since physical deletion
is not possible with ps datasets , all you can do is exclude
the records meeting the condition while writing it to new ps
datasets.
let me remind once again that Deletion is not possible with
ps data sets.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
What is link edit in cobol?
Write a cobol program making use of the redefine clause.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the difference between comp and comp-3?
What is the difference between Global and External Variables?
What is report-item in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how to refer the data field?
what is amode(24), amode(31), rmode(24) and rmode(any)?
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?
Why would you use find and get rather than to obtain?
what is the use of outrecord?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
In COBOL, what is the different between index and subscript?