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

How to open a dataset in new session


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Mon Jun 15, 2009 7:05 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jun 15, 2009 7:06 pm
Reply with quote

You can't
Back to top
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Mon Jun 15, 2009 7:09 pm
Reply with quote

Thanks for the quick response
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Jun 15, 2009 11:47 pm
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Tue Jun 16, 2009 4:00 am
Reply with quote

An example of what Pedro suggested"
Code:
 dsn="'SYS1.SAMPLIB'"                     
Address ispexec 'SELECT PGM(ISPSTRT) PARM(EPDF 'dsn')'   
Back to top
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Tue Jun 16, 2009 2:52 pm
Reply with quote

Thanks a lot! Its working
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 16, 2009 2:59 pm
Reply with quote

Nice trick.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling an Open C library function in... CICS 1
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top