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

Which is best - Include Module (or) Dialog.


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

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts SXP Tool for PL1 or Module library ma... PL/I & Assembler 0
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
No new posts INCLUDE COND with WHEN=GROUP SYNCSORT 12
Search our Forums:

Back to Top