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
 

 

SOC4 on DISPLAY statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
dipsybaby

New User


Joined: 18 Mar 2005
Posts: 7

PostPosted: Wed Jul 14, 2010 12:11 pm    Post subject: SOC4 on DISPLAY statement
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: 208
Location: Cochin/Kerala/India

PostPosted: Wed Jul 14, 2010 12:22 pm    Post subject:
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

Site Director


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

PostPosted: Wed Jul 14, 2010 7:21 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


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