ISREDIT macro - Changing a string to null
Posted:
Tue Sep 23, 2008 2:49 am
by chidams78
Hi,
Could anyone let me know how to blank out the string '.&ACCT'.
I tried puting the code
"ISREDIT C P'.&ACCT' ' ' ALL"
but itz not working out.
Plz help
Rgds
Chidams
Re: ISREDIT macro - Changing a string to null
Posted:
Tue Sep 23, 2008 7:05 am
by dick scherrer
Hello Chidams and welcome to the forums,
Try removing the P.
Re: ISREDIT macro - Changing a string to null
Posted:
Thu Oct 16, 2008 9:43 pm
by chidams78
Hi D sh,
If we are not giving P, it will give error.
For dealing with symbols, we may need to convert the char string to picture string P.
But & is a specific case. The ISPF macro is not able to find & (ambersand) string in the Jobs / PROCs.
The solution is that we need to first convert the ambersand to ? or $ symbol and then do the process.
After that convert it back to & (since there may be lot many & used in other areas in the job too).
Thanks
Chidam