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 with VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SOC4 with VSAM
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 06, 2009 8:20 pm    Post subject:
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: 8593
Location: Back in jolly old England

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

Did you forget an AIX or PATH
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: Mon Apr 06, 2009 10:02 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Apr 06, 2009 11:38 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Mon Apr 06, 2009 11:41 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Tue Apr 07, 2009 12:32 am    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Tue Apr 07, 2009 12:52 am    Post subject:
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

Site Director


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

PostPosted: Tue Apr 07, 2009 1:42 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 07, 2009 11:19 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm

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