Changing a string to null using edit macro.

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
harish123
Registered Member
Posts: 50
Joined: Thu Jul 04, 2013 10:26 am
India

Changing a string to null using edit macro.

Post by harish123 »

Hi,

I'm trying to create a simple edit macro which will replace the string to "nothing (null)". Could anyone let me know how to blank out the string '.&SYSUID'. I've tried with this but it didn't work:

Code: Select all

"ISREDIT C P'.&SYSUID'   ' '  ALL"
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Changing a string to null using edit macro.

Post by Anuj Dhawan »

Hi Harish,

Remove "P" from your code and try again.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Changing a string to null using edit macro.

Post by zprogrammer »

Harish,

What is NULL to you

Code: Select all

' ' OR ''
zprogrammer
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”