Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Insert a line using ISREDIT LINE_AFTER command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Insert a line using ISREDIT LINE_AFTER command
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: 8646
Location: Back in jolly old England

PostPosted: Tue Aug 25, 2009 6:22 pm    Post subject:
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    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 OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us