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
 
stem handling during edit / view of a dataset only

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Sat Dec 20, 2008 10:25 pm    Post subject: stem handling during edit / view of a dataset only
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: 80
Location: Australia

PostPosted: Sat Dec 20, 2008 10:29 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Sun Dec 21, 2008 12:47 pm    Post subject:
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: 80
Location: Australia

PostPosted: Sun Dec 21, 2008 10:44 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Dec 22, 2008 1:38 am    Post subject: Reply to: stem handling during edit / view of a dataset only
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    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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

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