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

Question about IMS DB/ PLI program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
joe1977

New User


Joined: 04 Jun 2010
Posts: 1
Location: china

PostPosted: Fri Jun 04, 2010 12:12 pm
Reply with quote

Hi,

I have a question is about to run a pli program AA which will call another module BB , this BB module is an IMS DB program with DLI calls.

So how should i run my calling program AA ? Should i run it with EXEC PGM=DFSRRC00 ?

Pls advise. thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 12:21 pm
Reply with quote

Maybe this info is of help :

www.sysed.com/DnLoads/QualityContents/IMSControlBlock/05_Chapter02_IPB1-us.pdf
Back to top
View user's profile Send private message
songxinqiao

New User


Joined: 25 Nov 2005
Posts: 6
Location: china

PostPosted: Fri Jun 04, 2010 12:47 pm
Reply with quote

Thank you Peter,

According to your pdf, i still can't figure out how i shold call program AA in jcl, should i use DFSRRC00 ? Since Program AA is to call BB , BB has the IMS DL1 call. AA is just a pure pli.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 1:00 pm
Reply with quote

The DLI parameter tells DFSRRC00 that DLI calls are going to be used
so set up a DLI envronment. It is not important if that happens in the
main stream or in a called routine/program.
Back to top
View user's profile Send private message
songxinqiao

New User


Joined: 25 Nov 2005
Posts: 6
Location: china

PostPosted: Mon Jun 07, 2010 8:12 am
Reply with quote

Thanks Peter, I got another question, When i use DFSRRC00 , I am going to run a BMP program, do i need to specify Transaction name? If so before i run DFSRRC00 , do i need to start this transaction first ?

Thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 07, 2010 10:54 am
Reply with quote

The following parm can be supplied :

IN :
Specifies an input transaction code. This parameter is necessary only when the application program intends to access the message queues. If this parameter is specified, the OUT= parameter is ignored. You cannot schedule a BMP with an IN= parameter specified against a PDIR with an associated SMB that is already scheduled and is SCHDTYP=SERIAL. Doing so results in ABENDU0457 when the BMP is scheduled

See the follwing link for IMS procedures :

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.isdt/i2himsb.htm
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 07, 2010 11:34 am
Reply with quote

songxinqiao

it is considered bad manners to step into a topic started by somebody else
asking new questions!
it confuses the original poster and makes people wondering to whom they are really replying!

if You have something to ask please start a new topic,
it does not matter if You work in the same organization, on the same project, or attend the same training class,

and if You are just one person with two ids it' s even worse!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 07, 2010 11:40 am
Reply with quote

moved where it belong... IMS
given the question asked the language is irrelevant!
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 07, 2010 11:41 am
Reply with quote

Hey Enrico,

that was sharp. I totally missed that it was another user.
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top