Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Which is best - Include Module (or) Dialog.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
Anand_Kannan

New User


Joined: 09 Jun 2005
Posts: 3

PostPosted: Wed Jun 15, 2005 3:54 pm    Post subject: Which is best - Include Module (or) Dialog.
Reply with quote

Hi all,

whats the Difference between a Dialog and Include module i.e., i need to code a small subroutine say which is to be called from 3 process.

In this case which is the better option

1. To create a Mapless dialog with a pre-map which executes the necessary code.
(or)
2. Write a Include module and call the same from all the process instead of creating a online dialog.

Please let me know abt this soon.

Anand
Back to top
View user's profile Send private message

harishskumar

New User


Joined: 18 Feb 2005
Posts: 13
Location: Bangalore

PostPosted: Thu Jun 16, 2005 9:23 am    Post subject: Re: Which is best - Include Module (or) Dialog.
Reply with quote

Well, It depends what kind of functionality you are going to code in the called subroutine. If it's pure cobol moves and logic , you can go ahead with a call statement.

But if you are doing IDMS related work in the called subroutine then you will code a mapless dialog, which will be native to ADSO and I presume It would be faster compared to a call.

If you need more infromation on performance related stuff I would suggest you get in touch with your DBA. It would be a good learning experience.
Back to top
View user's profile Send private message
rssomm

New User


Joined: 05 Jun 2005
Posts: 41
Location: Hyderabad

PostPosted: Wed Jun 29, 2005 10:39 pm    Post subject:
Reply with quote

Hi Anand,

Your question is not clear.

A dialog consists Premap process module, Process modules which are associated with PF keys and INCLUDE modules. So How can u compare Dialog with Include module?. Include module is something like a subroutine for any ADS/O dialog. Include module can be called from any PF key process module or Premap Process module.

Please be clear with ur question? or Let me know ur requirement witout using conflicting words. I will try to clear it.

Madhu
Back to top
View user's profile Send private message
Pjoe

New User


Joined: 22 Jul 2005
Posts: 17

PostPosted: Fri Jul 22, 2005 2:04 pm    Post subject: Re: Which is best - Include Module (or) Dialog.
Reply with quote

Hi,

I feel include module will be a better option , becuase the source code of the module will be inserted logically in the current process source code at compile time.If you use a mapless dialog, then you will have to transfer or link to that dialog , which will definitely increase the run time overheads.

Thx,Joe
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us