Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
A SOC7 abend in a PLI program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
vinodkumar.rao

New User


Joined: 29 Nov 2006
Posts: 4
Location: Chennai

PostPosted: Fri Jan 05, 2007 5:28 am    Post subject: A SOC7 abend in a PLI program
Reply with quote

Hi,

I have a PLI program that is going down with a SOC7 abend. It is raising this condition due to an error in a variable, that is declared as a numeric but is showing up alphanumeric characters. What I found was that, programmatically, there were no alphanumeric values moved into this variable, but yet it took up junk characters and failed. Here is the abend code: IBM0537S ONCODE=8097 Data exception. I understand this was raised due to another error in the program, but cannot find the error out. When I give the string range and stringsize complier options, then the code runs fine with the string range and string size conditions raised. This is strange and I am not able to find out why this is happening. Please let me know if anyone can help on this.

Thanks.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 19, 2007 9:06 pm    Post subject:
Reply with quote

Hello,

Make sure the variable was initialized to zero or whatever numeric value will work in your case. Unitialized numeric variables often cause 0c7's.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SAS Work space - B37 abend santuece1 JCL & VSAM 11 Tue Jun 19, 2018 1:03 am
No new posts JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us