already so many of them posted this questions,but no one have given any clear idea.plz any one expert give me an solutions.after finding the verb line of the sorce code.how we know that particulr records is affected.if we are having 1000 of records. plz give me an good solutions.by using ABEND-AID and also without using abend-aid.
We can trap the current record in either of the following ways..
1 - Using abend aid..
In the abend-aid messages u can see the details of record causing abend under "CURRENT RECORD".ie search for "CURRENT RECORD" in abend-aid messages and get the record details..
2- Without using ABEND-AID.
This method works fine when u create an output file.Suppose fileA is ur input file and having some 1000 records and ur code process fileA and creates FileB.Now declare FileB as (NEW,CATLG,CATLG).Hence while processing if your job abends FileB wil be still cataloged and count the number of records in file B say 800 it means 801th record is the one causing SOC7.