IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SOC4 on DISPLAY statement


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dipsybaby

New User


Joined: 18 Mar 2005
Posts: 9

PostPosted: Wed Jul 14, 2010 12:11 pm
Reply with quote

I have a variable at 01 level with 88 levels defined under it.
The 01 level seems to have some junk value and when I display that variable the program abends with a SOC4.

Has anybody faced similar kind of a situation before?
Any inputs on this would be highly appreciated.

Thanks,
Deepa
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Wed Jul 14, 2010 12:22 pm
Reply with quote

Hi Deepa,
Can you check that where that 01 level variable is declared?.whether its part of FD section. If you are using a variable which is present in File section before the file operation,you may face the SOC4 abend.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jul 14, 2010 7:21 pm
Reply with quote

Hello and welcome to the forum,

You cannot DISPLAY something you have no addressability to. . .
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Wed Jul 14, 2010 7:56 pm
Reply with quote

dick scherrer wrote:
Hello and welcome to the forum,

You cannot DISPLAY something you have no addressability to. . .

...as FILE SECTION items before the file has been read, LINKAGE SECTION items that are missing in the entry USING list and/or in the CALL USING list.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts How to display the leading zeros of a... DB2 7
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
Search our Forums:

Back to Top