Page 1 of 1

Difference between DISPLAY and SELECT Services

PostPosted: Sun Aug 19, 2012 12:49 pm
by Quasar
Hi,

With reference to my previous post http://www.ibmmainframeforum.com/tso-ispf/topic8034.html, I have tried reading about the different ISPF Services, to display a panel - DISPLAY, TBDISPL and SELECT from the manuals. I am still a little confused between, when should I use the DISPLAY Service or the SELECT Service. Why do we have these two different services in the first place?

Thanks,
Quasar.

Re: Difference between DISPLAY and SELECT Services

PostPosted: Tue Aug 21, 2012 4:33 am
by Pedro
Use SELECT service to display menu panels.

Re: Difference between DISPLAY and SELECT Services

PostPosted: Tue Aug 21, 2012 6:03 am
by Quasar
Hi Pedro -

Currently, I am using the Rexx CALL instruction to transfer control from one menu program, to another. Is this approach fine? Apart from the fact that CALL is a Rexx Instruction, that would search //SYSEXEC and //SYSPROC, whereas SELECT PGM() is an ISPF Service, that would search //ISPLLIB and any //STEPLIB's(Correct me, if I am wrong here), I do not see much of a difference.

Thanks and appreciate your response,
Quasar

Re: Difference between DISPLAY and SELECT Services

PostPosted: Tue Aug 21, 2012 9:20 pm
by Pedro
With regard to transferring control from one program to another, you are right that it is not much difference.

But the parms for SELECT offer functions not available in the rexx Call statement, for example, NEWPOOL and NEWAPPL.