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: 213
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 upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm


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