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
 

 

how to retrofit the lines with rexx

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

New User


Joined: 05 Nov 2007
Posts: 21
Location: hyd

PostPosted: Wed Nov 07, 2007 7:32 pm    Post subject: how to retrofit the lines with rexx
Reply with quote

Hi all,

When we compare our enhanced program with production program, if we want to retrofit any lines that was missing in our program from production program, we will just type MD in the line numbers column of the mainframe screen. Then the line will be retofitted into our code. Can we do the same thing using rexx.
i.e., how can we code command like MD or D(for deleting a line) or I(for inserting a new line) or CC(for copying a set of lines) using rexx.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Nov 07, 2007 7:40 pm    Post subject: Reply to: how to retrofit the lines with rexx
Reply with quote

Your post is, no ofense meant, completely unclear...

what has the line command MD ( make dataline from a mask line ) have to to with retrofitting..

clarify better what You want todo

THANK YOU !
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Wed Nov 07, 2007 8:55 pm    Post subject:
Reply with quote

enrico, when you do a COMPARE within an edited file, new lines appear with a label, deleted lines appear with '======' (info lines).
These deleted lines can be reintroduced by typing MD in the prefix area.

The manual shows the line commands that can be used in a macro.
MD is not among them.

I have not found how info lines (the ones with '======') can be inserted from within a macro.
If you are really stuck, try using COMPARE with the SAVE option, then analyse the file created: prefix.ISPFEDIT.COMPARE.LIST
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Nov 07, 2007 9:08 pm    Post subject: Reply to: how to retrofit the lines with rexx
Reply with quote

Still ISPF release dependent :-)

( with edit macros
You can insert ==== lines with mask token of the line insert commands )

Anyhow I do not see at all how a REXX can be used to do this kind of task..

They should have a STRONG standard enforced on the format of program updates
( tagging every modified line with a change level token ),
in order to programmatically select for partial upgrade/retrofit
I do not see how a rexx program can achieve that..

A strong change management program/standards with networked change capability would be the solution :-)
together with a standard enforced for small atomic changes and versioning
in order to apply/retrofit the changes in a bundle indepently

OK... messy append, but if You ask I can clarify later

anyway for the o/p request,, better to avoid any programmatic retrofit
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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