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

To go back to the first page of the file


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

New User


Joined: 05 Jun 2006
Posts: 19

PostPosted: Tue Jun 14, 2011 5:52 pm
Reply with quote

Hi all,
How can I go back to first page of the datset and at the same time cursor should be moved to command line after excution of my macro.

I have tried below things:
1. EXIT(1)
It is keeping the cursor at command line but not going back to first page.

2."CURSOR 1 1"
EXIT
It is coming back to first page, but cursor is still on first line.

Please help me in acheiving this.

Thanks,
dubasi
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Jun 14, 2011 7:11 pm
Reply with quote

Have you tried scrolling to TOP before exiting?
or UP MAX
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 14, 2011 7:15 pm
Reply with quote

why did you not try

"CURSOR 1 1"
EXIT(1)
Back to top
View user's profile Send private message
dubasir

New User


Joined: 05 Jun 2006
Posts: 19

PostPosted: Wed Jun 15, 2011 10:04 am
Reply with quote

Hi Nic Clouston/dbzTHEdinosauer,

Thanks for your replies.
I have already tried mentined things
"CURSOR 1 1"
EXIT(1) - keeping the cursor at command line but page is not on first page.

"TOP" - this command is not recognized.

But, "UP MAX" ; EXIT(1) is working fine. This I dint try before. icon_smile.gif

Thanks again for your quick response.

dubasi.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top