Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to delete the records of a dataset through cobol
programme?We should not use jcl utilitities like IDCAMS.

Answer Posted / janardhan

we can delete by usinf the files concept.

if case of sequential file there is no direct delete option.
for this

1) read the record and rewrite with spaces.
2) read record from one file and write it into another file
by excluding the record which has to be deleted.

if case of indexed file we can directly delete the record
as it contains the indexed no.

same for relative files.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1911


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2255


How you can read the file from bottom?

1086


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324


Write a program that uses move corresponding.

1076


what are decleratives in cobol?

2210


What is the difference between Call and a Link?

1123


Explain about different table spaces.

1049


Explain the configuration section of a cobol program with examples of syntax.

1125


How do we get current date from system with century in COBOL?

1324


how do you reference the ksds vsam file formats from cobol programs

1125


Can we redefine the field of x(200) to less than 200?

1307


What is the difference between structured cobol programming and object alternativelyiented cobol?

1189


What is inspect in cobol ?

1242


What are the different open modes available in cobol?

1146