IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Runing ISREDIT macro without opening a member


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 05, 2009 6:24 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 05, 2009 6:33 pm
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: 2358
Location: Israel

PostPosted: Thu Feb 05, 2009 6:38 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 05, 2009 6:46 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Feb 18, 2009 11:35 am
Reply with quote

look at
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts DB2 for z/OS and LUW Admin Job Opening Mainframe Jobs 0
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
Search our Forums:

Back to Top