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
 

 

How IMS picks up PSB at run time

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

New User


Joined: 01 Dec 2006
Posts: 4

PostPosted: Thu Jul 05, 2007 9:38 pm    Post subject: How IMS picks up PSB at run time
Reply with quote

HI,
i have a doubt regarding IMS psb's .


there is a IMS PROGRAM 'A'

A calls another IMS program 'B'. (dynamic call)


while running Batch job ,
i have mentioned the PSB FOR 'A' in dfsrrc00 parms.

I gave the PSBLIB library for 'A' .

This PSBLIB doesnt contain PSB for 'B'.
what will happen.........


thanks in advance
Back to top
View user's profile Send private message

Sandy Zimmer

Active Member


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

PostPosted: Thu Jul 05, 2007 10:29 pm    Post subject:
Reply with quote

Tell us what your linkage section looks like.....
Back to top
View user's profile Send private message
umasankar

New User


Joined: 01 Dec 2006
Posts: 4

PostPosted: Thu Jul 05, 2007 11:49 pm    Post subject: Re: How IMS picks up PSB at run time
Reply with quote

Thanks for reply,

I got the answer ..

program 'A' linkage section will have program 'B' PCB's as well...

am i right?
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 Jul 06, 2007 12:01 am    Post subject:
Reply with quote

Try it......the other thing is that why are you dynamically calling pgm B? Is it a date routine that gets updated frequently? Otherwise, it is much more IMS efficient to link statically. However, you must consider the trade-off.....

Sometimes, you just do not have the background to ask a question. That is exceptionally frustrating. Other times, you have exhausted your research options and are literally banging your head against the wall. Mostly, you learn from your mistakes and these are lessons that you will never forget. Do not be afraid to experiment - except in production - you will learn a lot.

For instance - can you tell me how you would get a GE (not found) on an ISRT call? Years and years ago, when people were teching me - this is a question I would ask them in return. icon_rolleyes.gif If you understand that where you are in the database is essential, then you will have the answer. Don't just learn to do calls - learn how IMS works!
Back to top
View user's profile Send private message
vihv

New User


Joined: 01 Mar 2010
Posts: 4
Location: usa

PostPosted: Fri Jan 14, 2011 12:02 am    Post subject: Reply to: How IMS picks up PSB at run time
Reply with quote

umasankar: this is a very old post..anyways I hope you get this question. How does the IMS allocates the memory for all the PCB's in the PSB. is that positional...eg:

if you remove pcb2 from the program in the entry but you dont remove it from the psb.... does the address(pointer) for the allocated memory for pcb2 gets assigned to pcb3 since we removed pcb2 in the program.

thank you.

PSB-A
PRINT NOGEN
pcb1 ....................
pcb2 ....................
pcb3 ....................
pcb4 ....................
PSBGEN LANG=COBOL,PSBNAME=CTP593,CMPAT=YES
END

Program A
Linkage
pcb1 ....................
pcb2 ....................
pcb3 ....................
pcb4 ....................

procedure
.
.
ENTRY 'DLITCBL' USING pcb1,
pcb1
pcb2
pcb3
pcb4
.
.
.
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm


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