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 line count

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Mon May 19, 2008 6:04 pm    Post subject: ISREDIT line count
Reply with quote

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
View user's profile Send private message

acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Mon May 19, 2008 6:12 pm    Post subject:
Reply with quote

try changing
Code:
"ISREDIT (LINE) = line .zcsr "

for
Code:
"ISREDIT (LINE) = linenum .zcsr "
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon May 19, 2008 8:11 pm    Post subject: Reply to: ISREDIT line count
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Mon May 19, 2008 8:50 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon May 19, 2008 8:57 pm    Post subject: Reply to: ISREDIT line count
Reply with quote

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 icon_sad.gif .

Sorry that this post is not related to the topic.


z/OS V1R9.0 ISPF Edit and Edit Macros.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon May 19, 2008 10:12 pm    Post subject: Reply to: ISREDIT line count
Reply with quote

Kevin,

Thanks a lot for the link. This is what i was exactly looking for.
Back to top
View user's profile Send private message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Tue May 20, 2008 9:21 am    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 20, 2008 12:47 pm    Post subject: Reply to: ISREDIT line count
Reply with quote

Refer to Chapter 6. Creating Edit Macros of the above manual.
Back to top
View user's profile Send private message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Tue May 20, 2008 1:21 pm    Post subject: Re: Reply to: ISREDIT line count
Reply with quote

Thanks a lot, Kevin

Regards,
Mouli
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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm


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