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

SOC4 with VSAM


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

New User


Joined: 01 Jun 2005
Posts: 17
Location: USA

PostPosted: Mon Apr 06, 2009 8:16 pm
Reply with quote

Hi,

I copied PROD VSAM in test using file aid and used it in test JCL , I got SOC4 but when I replaced above DSN with PROD dataset name in my test job, It ran fine.

SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=09.57.08 SEQ=19037 CPU=0000 ASID=0175
PSW AT TIME OF ERROR 078C0000 87D5DEE0 ILC 4 INTC 11
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
DATA AT PSW 07D5DEDA - 90005890 D1D05820 906C5520
AR/GR 0: 00000000/00000003 1: 00000000/00000080
2: 00000000/00000002 3: 00000000/07D5FFF0
4: 00000000/2D501570 5: 00000000/2E472038

Can someone please tell me what can be causes of this.

Thanks
angt
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 06, 2009 8:20 pm
Reply with quote

How does the LISTCAT for the test file compare to the LISTCAT for the production file?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 06, 2009 8:25 pm
Reply with quote

Did you forget an AIX or PATH
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Apr 06, 2009 10:02 pm
Reply with quote

Hello,

Are you using a new or recently changed program in test?

Does the production version of the program run successfully with the test vsam file?
Back to top
View user's profile Send private message
angt

New User


Joined: 01 Jun 2005
Posts: 17
Location: USA

PostPosted: Mon Apr 06, 2009 11:15 pm
Reply with quote

Hi All

Bob ...Listcat appears to be same

Expat ..there is no AIX or PATH ..

Dick .. It's a recently changed program. Prod as well test version gave SOC4 with test file but it runs fine with PROD file.

angt
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Apr 06, 2009 11:38 pm
Reply with quote

Hello,

If the listcat is the same, sounds like there might be a jcl problem or the file is corrupt. . .

What happens if you try to sort the test vsam file and write the output to a qsam file or a dd dummy?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Apr 06, 2009 11:41 pm
Reply with quote

Did you check the file status after any opens, closes and reads?
Back to top
View user's profile Send private message
angt

New User


Joined: 01 Jun 2005
Posts: 17
Location: USA

PostPosted: Tue Apr 07, 2009 12:28 am
Reply with quote

For me JCL is fine because when I change test DSN with prod DSN, job runs smooth.

I also initially thought file is corrupted

I already did delete/define, sorted all the data and then REPRO it to VSAM but all in vain I am still getting SOC4.

finally I added some display statements in my program to display file status code. some how it is 00 for all ( open read & close) . but still job returns SOC4.


angt icon_sad.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 07, 2009 12:32 am
Reply with quote

My best guess would be answered when you relate the PSW address to the statement in the program (it's called debugging).......
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 07, 2009 12:52 am
Reply with quote

The MAC says for S0C4 reason code 11:
Quote:
11
Page-translation exception. This error is caused by one of the following:

* A program that was running disabled attempted to reference storage while that storage was paged out. To correct the error, page-fix the storage before a program running disabled attempts to reference it.

* A program attempted to reference storage that had not been obtained. To correct the error, allocate the storage before attempting to reference it.

* A program running in a subspace attempted to reference storage that was not accessible to the subspace at the time of error. To correct the error, ensure that the program running in a subspace references only the storage assigned to that subspace, or storage that can be referenced by all subspaces.

* SMS abend. The reason code is X'12C'.
Unless there's messages you haven't told us about, I think it's time you consult with your site support group to find out if they can find the reason for the abend.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Apr 07, 2009 1:42 am
Reply with quote

Hello,

Is the vsam file variable length - possibly with an "occurs depending on" . . .?

It may be due to data content that the code is trying to process an invalid occurrence. . .

What was the source for the test data?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Apr 07, 2009 11:19 am
Reply with quote

And if the listcat is the same, maybe the data has changed in the prod file and has not yet been propogated to test.
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top