|
|
| Author |
Message |
cvadlamudi
Active User
Joined: 19 Apr 2007 Posts: 52 Location: India
|
|
|
|
Hi,
when i try to execute the below command
/***rexx***/
ADDRESS ISREDIT MACRO
"ISREDIT (LINE) = line .zcsr "
SAY 'LINE : ' LINE
i am getting the display LINE : LINE but not the count,
Can anyone look into this, i just want to know how to use the ISREDIT...
is there any pre address commands to be used..
Regards,
mouli |
|
| Back to top |
|
 |
References
|
Posted: Mon May 19, 2008 6:04 pm Post subject: Re: ISREDIT line count |
 |
|
|
 |
acevedo
Active User
Joined: 11 May 2005 Posts: 265 Location: Spain
|
|
|
|
try changing
| Code: |
| "ISREDIT (LINE) = line .zcsr " |
for
| Code: |
| "ISREDIT (LINE) = linenum .zcsr " |
|
|
| Back to top |
|
 |
Moved: Mon May 19, 2008 6:18 pm by superk From CLIST & REXX to TSO/ISPF |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1003 Location: Chennai - India
|
|
|
|
acevedo,
Could you please send me a manual for these ISREDIT commands(CURSOR etc)? I tried searching the same in the REXX forum but couldn't get :( .
Sorry that this post is not related to the topic. |
|
| Back to top |
|
 |
Marso
Active User
Joined: 13 Mar 2006 Posts: 288 Location: Israel
|
|
|
|
When I run your code as a macro, I receive the correct values.
When I run it as a TSO command, I receive the LINE word.
So I guess that's what's happening to you.
1. You must be in EDIT or VIEW to run the macro.
2. Just type the macro name, without TSO before.
Does it work now ?
NB: LINE returns the line contents, LINENUM returns the line number. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3101 Location: Charlotte,NC USA
|
|
|
|
| Aaru wrote: |
acevedo,
Could you please send me a manual for these ISREDIT commands(CURSOR etc)? I tried searching the same in the REXX forum but couldn't get .
Sorry that this post is not related to the topic. |
z/OS V1R9.0 ISPF Edit and Edit Macros. |
|
| Back to top |
|
 |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1003 Location: Chennai - India
|
|
|
|
Kevin,
Thanks a lot for the link. This is what i was exactly looking for. |
|
| Back to top |
|
 |
cvadlamudi
Active User
Joined: 19 Apr 2007 Posts: 52 Location: India
|
|
|
|
Hi Marso,
Yes, u are correct, i am using the command "TSO EXEC 'pathname' " to execute the macro.
When i try giving only the 'pathname' in the view mode and edit mode, i am getting "INVALID COMMAND name".
Can you explain how the macro to be defined... do we need to set it anywhere in the Profile list to use the macro command
Thanks,
Mouli |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3101 Location: Charlotte,NC USA
|
|
| Back to top |
|
 |
cvadlamudi
Active User
Joined: 19 Apr 2007 Posts: 52 Location: India
|
|
|
|
Thanks a lot, Kevin
Regards,
Mouli |
|
| Back to top |
|
 |
|
|