Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1868
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: 6968
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us