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
 

 

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: 10211
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Job Opening for 3 to 10 yrs exp. in I... princeaggarwal Mainframe Jobs 0 Sat Aug 20, 2016 3:17 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm


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