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...

If my file contains 100,000 records and job abended at
55,000th records processing then how can i restart job from
that record onward by ignoring that record. I can not edit
the file as file size is big and it is getting browse
substituted?

Answer Posted / lenin

if the file used in cics region, we can browse and read the
file from the record after the fault record by using
startbr,readnext and endbr commands.

if not, we can copy all the records after the fault record
to the new file and we read the new file,

The following code is used to create a new file which will
have the records after the fault record

// pgm=dfsort
/*
sort fields=copy,stopaft=45000,skiprec=55000
*/
//srtin dd dsn=orig-file
//sortout dd dsn=newfile
...

--Then you can read the new file in the cobol program.

Please correct me if i am wrong.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we change the password using ALTER? anyone tried and changed?

2030


What is the difference between perform … with test after and perform … with test before?

1468


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2439


What are the cobol coding sheets?

1288


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2013


i need a small 3d program using inline and outline.

2224


What the difference is between continue and next sentence?

1184


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1133


what happens if parmparameter passes zero bytes to the program

2148


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1255


What are the pertinent COBOL commands?

3192


Write some characteristics of cobol as means of business language.

1152


Name the divisions, which are available in a cobol program?

1247


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2482


What is a SSRANGE and NOSSRANGE?

1479