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: 10232
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: 1226
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: 10232
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 cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


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