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
 

 

Is there any limitation on the number of segments defined is

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Ganesh Kalam
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 45
Location: India

PostPosted: Sat Oct 14, 2006 6:47 pm    Post subject: Is there any limitation on the number of segments defined is
Reply with quote

My requirement is like this,

I have to define a PSB with 30 PCBs, each PCB containing 13 segments. When i am doing so i am getting SOC1 abend. I tried many times, but getting same abend.

Is there any limitation on the number of segments defined in a PSB.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sat Oct 14, 2006 8:01 pm    Post subject: Re: Is there any limitation on the number of segments define
Reply with quote

Quote:
I have to define a PSB with 30 PCBs, each PCB containing 13 segments. When i am doing so i am getting SOC1

1 PSB
= 30 PCB
= 30 * (13 Segments)
= 390 Segments

There cant be more than 255 segments in a database. You should see your shop DBA first, while interacting such.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Sat Oct 14, 2006 10:46 pm    Post subject:
Reply with quote

Yeap Priyesh is right .There cant be more than 255 segments in a database.

But PSB Program specification Block is basically logical structure of the d/b which program will use which can belongs to different database and in that case it can be more than 255.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Oct 16, 2006 6:05 am    Post subject: Re: Is there any limitation on the number of segments define
Reply with quote

Ganesh... I am sorry for misunderstanding... I have that bad habit of answering without reading the question properly.

Anyway, I'll try to find answer and let you know.

Ekta... Thanks for noticing and correcting.
Back to top
View user's profile Send private message
PascalQ

New User


Joined: 12 May 2006
Posts: 20

PostPosted: Mon Oct 16, 2006 6:25 pm    Post subject:
Reply with quote

Ganesh Kalam, please post the full error message.
Also: is it OC1 or 0C1? (I think the latter?). And: can you compile ANY PSB, i.e. with less than 390 segments it works fine?


As mentioned before, there's no such limit set by IMS. We have lots of PSBs with more than 400 segments.
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: Tue Oct 17, 2006 2:24 pm    Post subject:
Reply with quote

@Topic starter: Could you please provide us with more information? When are you getting the error: during PSBGEN or while your application is running? If during PSBGEN please post the JCL. If during execution of your application post the content of the PSB and the entry in your program so we can find out whether your pointers are set in the correct order (though you should get an IMS-error code if that's the case).
Back to top
View user's profile Send private message
Ganesh Kalam
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 45
Location: India

PostPosted: Fri Oct 20, 2006 11:00 am    Post subject: Re: Is there any limitation on the number of segments define
Reply with quote

Hi friends,

Thank you very much for paying attention on this. Yes PascalQ you are right ..i am getting S0C1.. I mentioned SOC1 ..sorry for the typo...

Bitneuker.. I am getting this problem during PSBGEN.....I am using a tool to create the PSB...it will submit a background JCL.. When i am selecting segments around 200 it is working fine.. But the problem occurs when it is beyond 250...It is giving S0C1..without submitting a job...

I doubt whether we can select more than 255 segments even though they are from different databases.. Correct me if i am wrong..

Thanks to priyesh and Ekta..for inputs on this...
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: Fri Oct 20, 2006 2:14 pm    Post subject:
Reply with quote

Ganesh,

A PSB may obtain one to many PCB's where each PCB represents one database. Each database is limited to 255 segments and this is watched during DBDGEN so I don't think it's the number of segments. If you need segments from different databases with the view of one logical database you should define (bi-)directional pointers.

Now to your problem:
You say the PSBGEN isn't submitted because the (submit)tool failes. Looks like there's your problem. I have no clue what your (submit)tool does and how it looks like. System errors like S0C1 usually point at an error in de DD/DCB. Could be possible your tool finds out you oversized and tries to send a warning. If the medium it uses to post the message lacks or is defined wrongly you might find yourself confronted with a S0C1.

So far I myself have the impression I'm guessing around icon_rolleyes.gif so please post some more specific information like screenprints, dump and detailed information about the S0C1.
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 SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


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