Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
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
References
PostPosted: Wed Jun 15, 2005 3:54 pm    Post subject: Re: Which is best - Include Module (or) Dialog. Reply with quote

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: 10

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1