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
 
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 COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm

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