Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Problem with GETMAIN command amitc23 CICS 6 Thu Sep 01, 2016 1:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us