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

stem handling during edit / view of a dataset only


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

New User


Joined: 25 Oct 2007
Posts: 81
Location: Australia

PostPosted: Sat Dec 20, 2008 10:25 pm
Reply with quote

Hi,

I am looking to implement a backward and forward option using a macro. in brief, i want to jump my cursor to the particular section from the cobol PERFORM statement using edit macro and at the same time with the same edit macro it should position the cursor back to the same perform statement from where it was jumped if i invoke it again without placing cursor on any other PERFORM statement. i want to store the sequence of forward operations of multiple perform statement and come back n the same sequence. can someone help me how can i store this info only for that particular view or edit session of a dataset ??
Back to top
View user's profile Send private message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 81
Location: Australia

PostPosted: Sat Dec 20, 2008 10:29 pm
Reply with quote

it's somewhat similar to RETRIEVE command (PF12). where are these stored in ISPF ???
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Dec 21, 2008 12:47 pm
Reply with quote

You have several options:
1. Use internal compound variable.
2. Use QUEUE
3. Use ISPF Edit labels

O.
Back to top
View user's profile Send private message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 81
Location: Australia

PostPosted: Sun Dec 21, 2008 10:44 pm
Reply with quote

Thanks for the reply ofer... i think my requirement is not clear above.

assume i have my cursor in a cobol program on a PERFORM statement when i invoke my macro assigned to a PF key it jumps to that particular section so when i exit from macro for first instance all stem variables are dropped. suppose i place my cursor again on another PERFORM statement and invoking macro again should jump to corresponding section. now assume that i have jumped 5 perform sections and want to jump my cursor back in sequence to the perform statements in reverse sequence, i should have stored all the line numbers. if i store it in a stem / compound variable it gets dropped on each invocation. i want to store this info for this particular edit / view session only. can you please help me on this ??
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Dec 22, 2008 1:38 am
Reply with quote

So, without details of your application... you want to store status information that persists after a macro ends.

As O. recommended:

Quote:

2. Use QUEUE
3. Use ISPF Edit labels


to which I add:
4. store to a dataset
5. store in ISPF profile.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SET PATH in View DDL DB2 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top