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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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