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
 

 

Question about IMS DB/ PLI program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Question about IMS DB/ PLI program
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: 2435
Location: Netherlands, Amstelveen

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

Maybe this info is of help :

http://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    Post subject:
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 1:00 pm    Post subject:
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    Post subject:
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 07, 2010 10:54 am    Post subject:
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 :

http://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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Jun 07, 2010 11:34 am    Post subject: Reply to: Question about IMS DB/ PLI program
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Jun 07, 2010 11:40 am    Post subject: Reply to: Question about IMS DB/ PLI program
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 07, 2010 11:41 am    Post subject:
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    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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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