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 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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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