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: 1787
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: 6967
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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