View previous topic :: View next topic
|
Author |
Message |
dipsybaby
New User
Joined: 18 Mar 2005 Posts: 9
|
|
|
|
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 |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
You cannot DISPLAY something you have no addressability to. . . |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
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 |
|
|
|