ISREDIT macro - Changing a string to null



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

ISREDIT macro - Changing a string to null

Postby chidams78 » Tue Sep 23, 2008 2:49 am

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
chidams78
 
Posts: 16
Joined: Fri Sep 19, 2008 6:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ISREDIT macro - Changing a string to null

Postby dick scherrer » Tue Sep 23, 2008 7:05 am

Hello Chidams and welcome to the forums,

Try removing the P.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ISREDIT macro - Changing a string to null

Postby chidams78 » Thu Oct 16, 2008 9:43 pm

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
chidams78
 
Posts: 16
Joined: Fri Sep 19, 2008 6:35 pm
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post