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

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.

Answer Posted / prakash

We can track this S0C7 in couple of ways without issuing
display statement

* Using abend log SYSABEND. GO the abend log in the spool
and search for CURRENT RECORD . Under this heading the
abendlog will show you the current record that has caused
the abend in hexa decimal format.

* Using Disp parameter. Suppose if your applicaton program
reads the data from an input file and after processing if
it writes ouput data to another file this method could be
used. Give the disp parameter as new,catlg,catlg for the
output dataset.By doing so when ever the job abend with
S0C7 we could see the last sucessfully processed record in
the output file.With that info we can track the
corresponding record in the input file and the next record
to that is the one causing the abend

Is This Answer Correct ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the divisions of a COBOL program?

1219


What is the utilization of copybook in cobol?

1196


When is inspect verb is used in cobol?

1258


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3263


What are different data types in cobol?

1322


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1349


) How do u handle errors in BMS macro?

1973


how to convert the recors form vsam file to db2 table tru file aid

3266


Mention the guidelines to write a structured cobol program?

1096


how can i see junk values in dclgen or in hostvariable of comp ?

3003


What is comp-1 and comp-2?

1230


What is a scope terminator give example?

1114


What is cobol?

1238


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2435


What are the different rules for performing sort operation?

1225