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
 
ISREDIT Macro problem with &

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ISREDIT Macro problem with &
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: 2360
Location: Israel

PostPosted: Mon Mar 26, 2007 6:04 pm    Post subject:
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    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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

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