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

SOC4 while trying to open a GSAM file


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rosmi joseph

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Sat Dec 08, 2007 5:29 pm
Reply with quote

Hi,

I am getting a strange SOC4 abend. I am trying to run a code in test region that runs perfectly well in the production environment. I have provided all the input files as in production.

But it gives a SOC4. Abend occurs when we try to open a GSAM file.

CALL 'CBLTDLI' USING WS-FUNC-OPEN
PCB-RB006-GSAM
END-CALL

This GSAM corresponds to the last PCB in my PSB. All other GSAMs are going fine in the OPEN call.

Also, the DD names are as below.
//DDBRB004 DD DUMMY
//DDBRB005 DD DUMMY
//DDBRB006 DD DUMMY

Could this abend be because of trying to open a dummy file? Or is it related to some access to that particular PCB in the PSB.

Please help me with this.

Thanks.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Mon Dec 10, 2007 6:52 pm
Reply with quote

I always used a DISP=SHR on dummy files.
Back to top
View user's profile Send private message
babai043
Currently Banned

New User


Joined: 19 Dec 2007
Posts: 19
Location: chennai

PostPosted: Wed Dec 19, 2007 3:59 pm
Reply with quote

hi,

may be this cause

Trying to use File Section variables without opening the file

Regards,
Srinivas Jala
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 19, 2007 5:16 pm
Reply with quote

Sandy Zimmer wrote:
I always used a DISP=SHR on dummy files.

It's not required actually, because no I/O is performed to the dummy data set, the system checks the SPACE and DISP parameters, if coded, for syntax, then ignores them. If you code UNIT with DUMMY, the system will ignore it if the specified unit name is syntactically correct and defined to the system. Otherwise the system terminates the job.

About the actual thread, I don't have a good answer, but yeah this
Quote:
Could this abend be because of trying to open a dummy file?
can be a probable reason.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Dec 20, 2007 2:37 am
Reply with quote

At least provide the DCB parms, even with DD DUMMY.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top