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

Insert a line using ISREDIT LINE_AFTER command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Siddharth4v

New User


Joined: 20 Aug 2008
Posts: 7
Location: India

PostPosted: Tue Aug 25, 2009 5:50 pm
Reply with quote

Hi,
I'm trying to insert a line using a macro which has an ISREDIT command as shown:

ADDRESS ISREDIT "LINE_AFTER .ZCSR = '//SYSOUT DD SYSOUT=&ABC'"

When i try to execute it, it is not inserting the '&'. I think it is considering it as a symbolic variable. Could anybody help me out on this?

Regards,
Siddharth
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 25, 2009 6:22 pm
Reply with quote

I would define a variable as
Code:

//SYSOUT  DD SYSOUT=&ABC,

and use
Code:

"ISREDIT LINE_AFTER  " TGL " = (Variable)"


Works for me
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top