View previous topic :: View next topic
|
Author |
Message |
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
Hi,
can one of you help me by answering below questions.
1) In which dataset ISPF panel are stored.
2) if we need to use a user defined panel in a rexx program using ispf display statement, how to make the program to refer to the user defined panel instead of default library.
to explain more...
i have created a panel say panel1 which i have in my personal library and i wrote a rexx program to call this panel. when i execute this exec it searches in the default library for Panel ( i would like to know this dataset name ????). How to make it refer to the panel which i created. where i need to concatenate my panel library and using which command.
thanks for your kind help
regards
Muthu |
|
Back to top |
|
|
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
Hi,
when Panel command is used in the program the program searches in the datasets concatenated under the ddname ISPPLIB ( I actually wanted to know this DD name- my first question). For those system defined the panels will be available in the files starting with sys* like
SYS1.ISPFNEW.ISPPLIB
SYS1.MVS.ISPPLIB
In order to pick the user defined panel, concatenate the library to ISPPLIB using the following
ADDRESS ispexec
"libdef ispplib DAtaset id('"userid()".exo.rexx') " /* panel lib */
"libdef ispLlib DAtaset id('"userid()".exo.LOAD') " /* load lib */
( you can add these lines in the exec before running it - this is what i expected for my 2nd question)
tso ISRDDN will show all allocated libraries and their connecting DDNAMES .
Now i think its clear
thanks
muthu |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
hello all,
muthukumar
do not forget to do a
"libdef ispplib" in your exec when you are done
apart from that you got it all figured out right !!! |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
muthukumar,
note you only need to define ISPPLIB if this is for panel processing...
Code: |
ADDRESS ispexec
"libdef ispplib DAtaset id('"userid()".exo.rexx') "
|
'"userid()".exo.rexx' can be any dataset of your choice (pds or seq), basically code your own name and be careful with the quotes using rexx. |
|
Back to top |
|
|
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
sure..thanks |
|
Back to top |
|
|
|