View previous topic :: View next topic
|
Author |
Message |
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
I always used a DISP=SHR on dummy files. |
|
Back to top |
|
|
babai043 Currently Banned New User
Joined: 19 Dec 2007 Posts: 19 Location: chennai
|
|
|
|
hi,
may be this cause
Trying to use File Section variables without opening the file
Regards,
Srinivas Jala |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
At least provide the DCB parms, even with DD DUMMY. |
|
Back to top |
|
|
|