Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To go back to the first page of the file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: To go back to the first page of the file
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: 1722
Location: UK

PostPosted: Tue Jun 14, 2011 7:11 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us