MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RDZ and running a Rexx script on current source code

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Mon Sep 29, 2014 6:54 am    Post subject: RDZ and running a Rexx script on current source code Reply with quote

Here at work, we haven't got to the stage when anyone is "pretesting" RDZ (it's in the near future), so I can't experiment yet.

What I'm interested in is if anyone has written/customized existing z/OS edit scripts so they can be used in RDZ.

I've found examples online, but most of them seem to be along the lines of submitting some Rexx script in z/OS.

What I'm after (if it's doable) is some method of running a script that can do the equivalent of a normal edit script, for example, using LINE_BEFORE or similar to change the content of the current source code shown in an RDZ window.
For example, we have a script that inserts the name of all sections into a block of comment lines near the top of the code (deleting the existing block first)

From what I've read up on so far, it seems that existing scripts will have to be converted to Java which would be a real bummer.
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon Sep 29, 2014 9:25 am    Post subject: Reply with quote

I'm looking for the same thing. I'd like to run an Edit Macro from within RDz, but haven't gotten an answer yet. Will let you know if/when I do.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Sep 29, 2014 6:18 pm    Post subject: Reply with quote

misi01, Terry_Heinze,

Check this link which explains the ways to run the CLIST/REXX execs using the MENU MANAGER

RDz Workbench – z/OS Integration through Menu Manager


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Tue Sep 30, 2014 4:36 am    Post subject: Couple of comments Reply with quote

Reading the PDF, on page 18 it states
Quote:
Your CLISTS may not be ISREDIT macros
.

The nearest I could see to what I was after was on page 85 but that wasn't really it either.

Like I mentioned, we have LOADS of edit macros that can manipulate the COBOL source code. NOt having access to them would be a real bummer.

When I run the equivalent macros on the PC, if I have some source code open (Mainframe Express in our case) and run a utility that changes the open source code, I always get a message stating that the code has been changed outside the editor and would I like to reload the code (to which I answer yes)
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
William Collins
Supermod


Joined: 03 Jun 2012
Posts: 437
Topics: 0

PostPosted: Tue Sep 30, 2014 5:49 am    Post subject: Reply with quote

If you dig a bit you may find that you can turn the question off, and allow it to automatically update the file if changed outside the editor (without you being "aware", except that you know you've just changed it and would rather like to have those changes in the editor).

I used to have the same thing with Eclipse, which I believe to be a close relation to the RDz software.

Can't tell you how I did it in Eclipse, I only discovered when I noticed it was no longer asking me this, and I did a search for why, and discovered there was an option. I probably accidentally clicked an icon in passing, but there are, well, several icons lying around, and not much to give a clue as to which it was Smile
Back to top
View user's profile Send private message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Tue Sep 30, 2014 6:04 am    Post subject: Thanks William Reply with quote

If that is the case, then I can just see the next problem being that you can read the source code using EXECIO, but you can't replace the code since RDZ is holding it.

(NB that I'm only guessing at this "problem". Sometimes the simplest, most obvious needs are the most difficult to implement)
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Sep 30, 2014 8:41 am    Post subject: Reply with quote

Thanks, kolusu.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group