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

ISREDIT Macro problem with &


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

New User


Joined: 20 Feb 2007
Posts: 9
Location: Bangalore

PostPosted: Mon Mar 26, 2007 5:28 pm
Reply with quote

i have an edit marco:

/*_____REXX_____*/
CHG = "&HLQ."
"ISREDIT MACRO"
ADDRESS "ISREDIT"
"C ALL "CHG" AIST"
"SAVE"
"END"
SAY RC
RETURN

This is used to change the following file containing:
&HLQ..CICS.BANK.FILE
&HLQ..SQ.&STATE..AISD03.AIS3020.CREDITS
&HLQ..SQ.&STATE..AISD03.AIS3050.CREDITS

However this macro is not working. if I remove '&' from CHG then it works (in the sense it replace & with AIST). If I remove 'HLQ.' from CHG still it works. It changes the string respectively.

But the change &HLQ. does not work at all. But RC is zero.

Regards,
Jobin
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 26, 2007 6:04 pm
Reply with quote

'&' has special meanning for ISPF commands. Use the hexadecimal value instead.

O.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
Search our Forums:

Back to Top