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
 

 

about bookmarking and searching for a word in specific range

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

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Mon Aug 29, 2005 5:34 pm    Post subject: about bookmarking and searching for a word in specific range
Reply with quote

hai. i've these two queries...


1. how to make a bookmark? i.e; i need to go to a particular line of my member. from there i should return to the original line from where the control was given. Note. I need not perform a particular para. i just want to view that line and return.

2. how to look for a particular word in a specific lines of a member. if there are some 50 lines in my member, i want to look only between 25 and 40. how can this be accomplished?



gowtham
Back to top
View user's profile Send private message

radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Aug 29, 2005 6:13 pm    Post subject:
Reply with quote

For your first query,
set the tags for your identification like .a,.b and some known names which you can easily remember.

Go to the command line, Issue L .a---goes to the line where .a had been set up as a tag (line number 024549) .
similarly L .b goes to line number 24621.



Code:
024530 *                     *****************************
.A          ACCEPT ACCEPT-DATE FROM DATE           
024550      MOVE ' START DATE = ' TO XX-DISPLAY.     
024560      PERFORM X1-DISPLAY.                           
024570      MOVE -ACCEPT-DATE TO XX-DISPLAY.         
024580      PERFORM X1-DISPLAY.                           
024590      ACCEPT TIME-CURR FROM TIME             
024600      MOVE 'START TIME = ' TO XX-DISPLAY.     
024610      PERFORM X1-DISPLAY.                           
024620      MOVE TIME-CURR TO XX-DISPLAY.           
.B          PERFORM X1-DISPLAY.                           



hoep this helps.
Back to top
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Tue Aug 30, 2005 5:03 pm    Post subject:
Reply with quote

radhakrishnan82 wrote:
For your first query,
set the tags for your identification like .a,.b and some known names which you can easily remember.

Go to the command line, Issue L .a---goes to the line where .a had been set up as a tag (line number 024549) .
similarly L .b goes to line number 24621.



Code:
024530 *                     *****************************
.A          ACCEPT ACCEPT-DATE FROM DATE           
024550      MOVE ' START DATE = ' TO XX-DISPLAY.     
024560      PERFORM X1-DISPLAY.                           
024570      MOVE -ACCEPT-DATE TO XX-DISPLAY.         
024580      PERFORM X1-DISPLAY.                           
024590      ACCEPT TIME-CURR FROM TIME             
024600      MOVE 'START TIME = ' TO XX-DISPLAY.     
024610      PERFORM X1-DISPLAY.                           
024620      MOVE TIME-CURR TO XX-DISPLAY.           
.B          PERFORM X1-DISPLAY.                           



hoep this helps.




hai radhakrishnan. your's is a logical method to accomplish. i suspect there is a command to perform my need. can any one help me?

I think you can recognise me? can you? sorry for this out of topic post..... icon_lol.gif
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Aug 30, 2005 5:27 pm    Post subject:
Reply with quote

I think that radhakrishnan's method is the mainly used.
For your second question you can use vary utility both in foreground and background mode(JCL).
These are two samples:
Foreground:
if you are in a member of a PDS you can do this command:
Code:
VIEW xxxxxx;COPY mymemb 25 40;

Where xxxxxx is a name of a temporary member, and mymemb is the member you want to view from 25th to 40th line.(the ";" is my separator that in many case can be, as personal setting, "," o ".")
Background:
Code:
//STEP010I EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INPUT    DD DISP=SHR,DSN=....
//OUTPUT   DD SYSOUT=*
//SYSIN    DD *
 REPRO INFILE(INPUT) OUTFILE(OUTPUT) SKIP(24) COUNT(16)


I hope in this help.
Back to top
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Wed Aug 31, 2005 10:03 am    Post subject:
Reply with quote

hai MGIndago. thanks for the reply. that is wonderful.......


gowtham
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 how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am
No new posts insert the same records but chancing ... danylele74 DB2 6 Mon May 02, 2016 7:22 pm
No new posts Free FILE not working for specific users sankalp-goyal CLIST & REXX 12 Mon Apr 25, 2016 6:33 pm


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