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
 

 

Find and copy the entire line to another member

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

New User


Joined: 16 Jul 2006
Posts: 1
Location: Chennai

PostPosted: Fri Nov 03, 2006 2:55 pm    Post subject: Find and copy the entire line to another member
Reply with quote

Hi guys,
I want to find a particular word in a member of a pds and copy the entire line to another member. is there any command like 'isredit cut .zcsr" which i can use to cut the line and paste it in another member?

Thanks,
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Fri Nov 03, 2006 3:07 pm    Post subject:
Reply with quote

Hi Nike !

Have a look at the cut/paste rexx of IBM. Theese are in standard
ISPF-Libs allocatet to your user.

Look at ISREDIT PROCESS RANGE C M

Do
'ISREDIT (CMD) = RANGE_CMD' /* Get the command */
'ISREDIT (LINE1) = LINENUM .ZFRANGE' /* Get first line in range*/
'ISREDIT (LINE2) = LINENUM .ZLRANGE' /* Get last line in range */
linestocut = line2 - line1 + 1
End

This is quiet a nice example for you.
There you could study the handling.


Regards, umeySan
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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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