Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Runing ISREDIT macro without opening a member

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

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Thu Feb 05, 2009 6:19 pm    Post subject: Runing ISREDIT macro without opening a member
Reply with quote

Hi,

I want to pass an ISREDIT macro command to a member of the PDS and execute the command, without opening the member.

My req is:

1) Open a PDS
2) Run the ISREDIT macro command for all the members (without opening the member)
3) Close PDS

I have coded the points 1 & 3. Need help for point 2.

Please help me in getting this.

Note: The ISREDIT macro command will read the member and do some operation(we cannot change this logic).
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 05, 2009 6:24 pm    Post subject:
Reply with quote

That is impossible.
How can you expect to read / update a member withoput opening it ?

Or do you mean that you do not want to open the member on the screen ?
Please put your question clearly.
Back to top
View user's profile Send private message
Arun Kumar S

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Thu Feb 05, 2009 6:30 pm    Post subject: Reply to: Runing ISREDIT macro without opening a member
Reply with quote

Yes expat

I don't want to open the member on the screen

Is it posible ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 05, 2009 6:33 pm    Post subject:
Reply with quote

Yes, it is possible

Click HERE to read the ISPF edit macro manual.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Feb 05, 2009 6:38 pm    Post subject:
Reply with quote

I believe I already answered your question here.

O.
Back to top
View user's profile Send private message
Arun Kumar S

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Thu Feb 05, 2009 6:43 pm    Post subject: Reply to: Runing ISREDIT macro without opening a member
Reply with quote

Thanks expat...

Could you pls post some sample code if possible ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 05, 2009 6:46 pm    Post subject:
Reply with quote

No need, lots of examples already on the forum icon_lol.gif
Back to top
View user's profile Send private message
Tom Goodhart

New User


Joined: 16 Jul 2008
Posts: 5
Location: Tennessee

PostPosted: Wed Feb 18, 2009 10:11 am    Post subject: change members of pds without opening
Reply with quote

If you follow expat's original link to the ISPF edit macro manual, look at the sample macros in chapter 8. I think the one called ISRMBRS will do what you are wanting, "executes a passed macro name against every member of a PDS".

You have to put ISRMBRS in your CLIST pds.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Feb 18, 2009 11:35 am    Post subject: Reply to: Runing ISREDIT macro without opening a member
Reply with quote

look at
http://ibmmainframes.com/viewtopic.php?t=25947&highlight=

the sample has been tested and is working as is
Back to top
View user's profile Send private message
Arun Kumar S

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Wed Feb 18, 2009 4:46 pm    Post subject: Reply to: Runing ISREDIT macro without opening a member
Reply with quote

Hi Tom,

I'm getting the below error if i use ISRMBRS.

Please help me.


ISPP287

Panel '' error
Invalid LVLINE area name found while processing panel.






Current dialog statement:
DISPLAY MSG(ISRZ000)

Enter HELP command for further information regarding this error.
Press ENTER key to terminate the dialog.
Back to top
View user's profile Send private message
Tom Goodhart

New User


Joined: 16 Jul 2008
Posts: 5
Location: Tennessee

PostPosted: Thu Feb 19, 2009 12:15 am    Post subject: Re: Reply to: Runing ISREDIT macro without opening a member
Reply with quote

Arun Kumar S wrote:
Hi Tom,

I'm getting the below error if i use ISRMBRS.

Please help me.


ISPP287

Panel '' error
Invalid LVLINE area name found while processing panel.






Current dialog statement:
DISPLAY MSG(ISRZ000)

Enter HELP command for further information regarding this error.
Press ENTER key to terminate the dialog.


This saying that ISPF is trying to display message ISRZ000.
Do you have a DD for ISPMLIB allocated?
ISPF is looking to display a message ISRZ000 from a ISPMLIB PDS
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 opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us