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

what is level 66 means??

7 Answers  


WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


) how do u code after getting data?

0 Answers   IBM,


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

3 Answers  


What is the difference between a binary search and a sequential search?

3 Answers  


what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.

5 Answers  


Can we use redefine clause in occurs clause?

10 Answers  


What is the difference between PIC 9.99 and 9v99?

7 Answers  


WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN

3 Answers   Infosys,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


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

0 Answers  


What is the compute verb? How is it used?

0 Answers  


Categories