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 the difference between copy and include in cobol?

1 Answers  


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


What are the ways you can generate a copybook?

2 Answers  


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  






What is sqlca and why is it needed in any cobol-db2 program?

1 Answers  


if someone is using my file,how can i find which user id is using?

4 Answers  


I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


What is the figurative constant in cobol?

1 Answers  


What are the different data types in cobol?

0 Answers  


what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C

3 Answers   TCS,


Categories