IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How IMS picks up PSB at run time


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top