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

perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,






Differentiate between structured cobol programming and object-oriented cobol programming.

0 Answers  


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


what is soc7 abend?how u can trace it?

4 Answers   Accenture,


consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size

1 Answers   TCS,


How can you display the SPOOL information ?

2 Answers  


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


What is an in-line perform ?

4 Answers   Accenture,


Categories