I have a file it contain 10 records.i got abend at 8th record
because of soc7.how do you know that perticular record got
abend?

Answers were Sorted based on User's Feedback



I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that..

Answer / harsha

1 Go to File manager view penal/edit penal.
2 Give file name and corresponding file layout(i.e.
copybook)
3 Hit enter. You will be able to browse/edit the file.
4 On Command Line give 'FE(i.e. find error) Field Number.
5 File Manager will automatically take control to you to
that record which have invalid data in that perticular
field.

You can perform the similar functionality in File Aid as
well.

Is This Answer Correct ?    7 Yes 0 No

I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that..

Answer / dileep

Checking the value of record Key in Sysdump or through
Xpeditor also you can find out at which record it got abend

Is This Answer Correct ?    3 Yes 0 No

I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that..

Answer / rohan

we will use parm='test' while executing at that time we will know the location of the error.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is subscript in cobol?give realtime example?

2 Answers   Wipro,


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


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

0 Answers   TCS,


How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.

10 Answers  


Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.

3 Answers   TCS,






Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.

2 Answers  


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 Answers  


What is the difference between Call and a Link?

0 Answers  


Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.

5 Answers   EDS,


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,


Categories