View previous topic :: View next topic
|
Author |
Message |
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
I have written a macro which will open the dataset when i place a cursor over that DSN name in same session. I would like to know how to open the dataset in new session.
Thanks,
yuge |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can't |
|
Back to top |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
Thanks for the quick response |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You can open the file in a new split screen. See the Dialog Developer's Guide and Reference and search for 'ISPSTRT' for a description. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
An example of what Pedro suggested"
Code: |
dsn="'SYS1.SAMPLIB'"
Address ispexec 'SELECT PGM(ISPSTRT) PARM(EPDF 'dsn')' |
|
|
Back to top |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
Thanks a lot! Its working |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Nice trick. |
|
Back to top |
|
|
|