View previous topic :: View next topic
|
Author |
Message |
Arun Kumar S
New User
Joined: 23 Jan 2009 Posts: 14 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Arun Kumar S
New User
Joined: 23 Jan 2009 Posts: 14 Location: Bangalore
|
|
|
|
Yes expat
I don't want to open the member on the screen
Is it posible ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, it is possible
Click HERE to read the ISPF edit macro manual. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I believe I already answered your question here.
O. |
|
Back to top |
|
|
Arun Kumar S
New User
Joined: 23 Jan 2009 Posts: 14 Location: Bangalore
|
|
|
|
Thanks expat...
Could you pls post some sample code if possible ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
No need, lots of examples already on the forum |
|
Back to top |
|
|
Tom Goodhart
New User
Joined: 16 Jul 2008 Posts: 5 Location: Tennessee
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Arun Kumar S
New User
Joined: 23 Jan 2009 Posts: 14 Location: Bangalore
|
|
|
|
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 |
|
|
Tom Goodhart
New User
Joined: 16 Jul 2008 Posts: 5 Location: Tennessee
|
|
|
|
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 |
|
|
|