what is soc7 abend?how u can trace it?

Answers were Sorted based on User's Feedback



what is soc7 abend?how u can trace it?..

Answer / valmiki1980

Soc7 generally occurs when a non mumeric data moved to a
numeric data type and perform computation.

Is This Answer Correct ?    9 Yes 2 No

what is soc7 abend?how u can trace it?..

Answer / piyush mani

all answers r correct but ther r many cause of soc7 abend
like

1.Numeric operation
on non-numeric data
2.Un-initialize working-storage
3.Coding past the maximum allowed sub scrip

thanks

Is This Answer Correct ?    4 Yes 0 No

what is soc7 abend?how u can trace it?..

Answer / vinay sonar

SOC7 occurs when numeric operations are performed on non-
numeric data

Is This Answer Correct ?    1 Yes 1 No

what is soc7 abend?how u can trace it?..

Answer / pandu

hi i will give you one eg

x1 pic x(10)
x2 pic 9(4)

i want to move x1 to x2 but it is not possible becoz how
can we send the alpha -numeric data in to numeric. at that
time Soc7 will raise. but it will possible if the alpha-
numeric data is only numeric data i.e alpha numeric means
combination of A-Z and 0-9 if we send the digits to digits
it is no problem

Kindly tell me if answer is wrong? i will waiting for reply.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More COBOL Interview Questions

what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 Answers  


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


what is level 66 means??

7 Answers  






why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


What is a report item?

0 Answers  


IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why

3 Answers  


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


Categories