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: 1756
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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