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 do u debug a S0C7 abend? (aswered till we get the field
which caused that)
After knowing the field which caused that how do u know the
record which caused that if it is in production env? (dumb)
Ok let us assume that we got to know that 100th record
caused that and I wanted to skip only 100th record from the
file and process from 101th.
How to do that in JCL using SORT? (tried with STOPAFT
but ended up dumb when he said smthing else is ther)

Answers were Sorted based on User's Feedback



How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the ..

Answer / sandeep negi

If you came to know which field is responsible for that.
you can run your testjcl with output file DISP parameter as
(NEW,CATLG,CATLG), by doing so, your output file will get
created irrespective of SOC7 abend becuase the last record
of your outuput file will be responsible for generating
abend.

Now you can strip off that record (because its bad data)
and run your jcl.

How to Skip any record through JCL -
You can use ICETOOL

//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=... input file
//OUT DD DSN=... output file
//TOOLIN DD *
SUBSET FROM(IN) TO(OUT) REMOVE INPUT RRN(100)

this will remove 100th record from your file and will copy
rest all records into ouptput file.

Is This Answer Correct ?    3 Yes 0 No

How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the ..

Answer / hks

Use OMIT option of Sort Utillity

Is This Answer Correct ?    2 Yes 0 No

How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the ..

Answer / varun

You need to you SKIPREC and not STOPAFT here.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


01 A pic 9(100) find record length of it

6 Answers   TCS,


What are the divisions in a cobol program?

1 Answers  


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

0 Answers  


What are the functions like c or c++ in cobol?

2 Answers  


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

0 Answers   IBM,


What does EXIT do ?

3 Answers   Deloitte,


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


what is search and searchall?what is the diffrence between them?give an best example?

3 Answers   BirlaSoft,


Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

12 Answers   TCS,


How we copy a program from production region to development region.What is the process & syntax ?

3 Answers   CTS,


Categories