----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
/* REXX */
address isredit
"MACRO"
lineval = "This will be the second last line in the file"
"LINE_AFTER .ZLAST = (LINEVAL)"
lineval = "This will be the last line in the file"
"LINE_AFTER .ZLAST = (LINEVAL)"
"END"
You can call the macro from a REXX program. For example, if the name of the
above macro is "ADDLINES" then you can call the macro like this:
address ispexec "EDIT DATASET('MY.PDS(MEMBER)') MACRO(ADDLINES)"
Hope that helps,
Dave Salt
http://www.soft-center.com
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Chris
Does anyone have a REXX routine that will show me how to append lines to an
existing PDS member. I am looking for sample to help me correct a routine
that I wrote, but it is not quite right.
----------------------------------------------------------------------