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
 

 

Can we use an IMS Online PSB in an IMS batch program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Fri Apr 18, 2008 3:59 pm    Post subject: Can we use an IMS Online PSB in an IMS batch program?
Reply with quote

I have an IMS batch Program which requires a Secondary index DB access(IMS). The system contains an online PSB with the Secondary index DB defined. Can i use the same PSB in my batch program?
Back to top
View user's profile Send private message

Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Apr 18, 2008 4:34 pm    Post subject:
Reply with quote

No.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Apr 18, 2008 4:36 pm    Post subject:
Reply with quote

I have said this many times - each program should have it's own PSB - name matches name of program. It would be very easy to copy the current PSB removing access to online.
Back to top
View user's profile Send private message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Sat Apr 19, 2008 1:35 pm    Post subject:
Reply with quote

Each program having it's own PSB is just a programming Practise. We can use the same PSB for more than one program also. Here my requirement is that i need to use the existing PSB for the new batch program and my question is, How do I use the online PSB for my IMS batch program?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Apr 19, 2008 4:55 pm    Post subject:
Reply with quote

Hello,

Quote:
Here my requirement is that i need to use the existing PSB for the new batch program
No, you don't need to - you just want to.

Quote:
Each program having it's own PSB is just a programming Practise
Yes, it is - and a very good one. Indeed, one that is a standard many places.

Quote:
We can use the same PSB for more than one program also
Another of the many things that while they can be done, are better not done. If you ever are responsible for impact analysis, you will have a better understanding of this.

I suggest you go back and read the first reply to your initial post in this topic. . .
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sat Apr 19, 2008 5:24 pm    Post subject:
Reply with quote

Each program having it's own psb is a standard in most IMS shops. The consequences of using a shared psb are huge. Like Dick said -- think about impact analysis. It is very easy to copy a psb - compile it and make it your own.
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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