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 / harish

HI PRAKASH,

U ARE RIGHT..

I JUST WANT TO CONFIRM ABOUT DISP PARAMETER

I HOPE ITS DISP=(NEW,KEEP,KEEP)

SO WHY WE WANT TO WASTE I/O

IF ABNORMAL TERMINATION ITS KEEPS THE WRITTEN RECORDS TILL
POSITION OF SOCO7,SO WE CAN TRACE OUT AT WHICH RECORD IT
STOPS WRITING..

TAKE THAT RECORD PUT IN XPEDITIOR,TEST ...RESTART

pls correct me if anything wrong

HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

695


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

670


Mention the guidelines to write a structured cobol program?

614


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1607






how do you reference the esds vsam file formats from cobol programs

627


What are the access modes of START statement?

716


What is link edit in cobol?

748


what is the use of outrecord?

1768


what is difference between cobol and cobol/400

21556


What are literals?

626


What is the difference between PIC 9.99 and PIC9v99?

771


What rules are followed by the search verb.

631


What is difference between static and dynamic call in cobol?

772


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10574