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

Select line from edited member to command line for execution


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jack Judge

New User


Joined: 06 Mar 2015
Posts: 2
Location: Germany

PostPosted: Mon Mar 09, 2015 12:49 pm
Reply with quote

I'm new to this forum an have a special question about selecting a line of data from an edited dataset/member and taking that line to the command input line.
Now we have a rexx designed that edits a member which contains a variety of commands in single lines. this will be presented edited for selection by cursor. the line marked by cursor should be taken to the command line for execution.how can this be achieved? i created a macro to do this and tried to copy the line to the clipboard, but this works only if i first edit the dataset by manual edition and typing edit macro name into command line - cursor selection is then accepted. but if i do edition by the rexx proc i get only the cursor position 'line 1'. cursor positioned to another line is ignored. another problem is how get the content of clipboard into the command line. are ther any ideas about realization from your side. suggestion are welcome!
icon_question.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10756
Location: italy

PostPosted: Mon Mar 09, 2015 2:44 pm
Reply with quote

why take it to the command line
why not execute the command from Your REXX script ???
Back to top
View user's profile Send private message
Jack Judge

New User


Joined: 06 Mar 2015
Posts: 2
Location: Germany

PostPosted: Mon Mar 09, 2015 3:27 pm
Reply with quote

Hi Enrico,
there are several varied commands (IMS) like /dis /assign with a variety of parameters and operators for which I want a sample to submit with or without modifcation. Command submit is done in TSO session.
thx Jack -javascript:emoticon('icon_redface.gif')-)
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Extract 2 more lines below line that ... DFSORT/ICETOOL 2
No new posts Syncsort- Merging two records into on... SYNCSORT 3
No new posts problem in select max when executing ... IMS DB/DC 6
No new posts Command line placement in DB2I panels TSO/ISPF 2
No new posts File-aid batch how to repeat a line... Compuware & Other Tools 2
Search our Forums:

Back to Top