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

edit macro issue


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

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu Jan 27, 2011 2:50 am
Reply with quote

I have the following code in a Edit Macro, after I issue the UP 1, I need
the line number on this line. I have found no way to do this as the
cursor is still pointing to the line where I enter the line command and not
on the line where the UP command pointed me at. Any way of getting the
line number on the line from where the UP comannd pointed to.
Code:
ADDRESS 'ISREDIT'

"LOCATE FIRST MSGLINE"
"LOCATE NEXT  MSGLINE"
"LOCATE NEXT  MSGLINE"
"LOCATE NEXT  MSGLINE"
"UP 1"
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Jan 27, 2011 3:17 pm
Reply with quote

experiment with
DISPLAY_LINES—Query Display Lines
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu Jan 27, 2011 11:10 pm
Reply with quote

Dick, Thanks as this solved my problem. Don't know how I missed this
command while trying to determine how to do this.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Jan 28, 2011 2:52 pm
Reply with quote

happy to help.
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top