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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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