Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SOC4 while trying to open a GSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: SOC4 while trying to open a GSAM file
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    Post subject: Reply to: SOC4 while trying to open a GSAM file
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    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 19, 2007 5:16 pm    Post subject: Re: Reply to: SOC4 while trying to open a GSAM file
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Dec 20, 2007 2:37 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us