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

problem with soc4


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
king123

New User


Joined: 18 Oct 2004
Posts: 2

PostPosted: Mon Oct 25, 2004 5:09 pm
Reply with quote

hi..every one...i had posted a question last week..which is how to resolve soc4???..no one had answered that q..well.i am able to find out the OFFSET ADDRESS..but dont know what to do after that?..hope fully some one can help me this time..dont tell me that check the compiler listings..coz i had already checked out ..but not able to find..it..i am using endevour for compilation.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Oct 26, 2004 1:43 am
Reply with quote

Hi Your Majesty,

I know you told me not to say this, but you must look at the compiler listing.

But before that, add or change to the following in your compiler parms and recompile your pgm:

LIST,NOOFF

This will provide you with an Assembler listing that shows the address of every generated Assembler instruction for your COBOL code. To find this listing edit your Compiler Listing and enter "f MVC" then browse backward to find the headings used. One of them should say "offest" or some such.

Issue another "find" with the offending offest as one argument and the starting col# of the offset col as the other. This should place you at the Assembler instruction after the offending instruction. After locating the cursor at the offending instruction browse backward to the VERB it is associated with. On the same print line you'll see the line# of the offending COBOL stmt.

Chances are it will be a stmt that references an indexed internal table. Sometimes; not always.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
Search our Forums:

Back to Top