Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us