View previous topic :: View next topic
|
Author |
Message |
coolzin20
New User
Joined: 07 Oct 2006 Posts: 3
|
|
|
|
hi,
I would like to copy a member from one PDS to another and the second member should be opened in view mode,and then JEM that member after that i dont want to save the changes done.
How can i do this using REXX.
Please help me out |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
What do you mean by "in view mode"? I don't see how this relates to a CLIST or REXX issue. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can do that with Edit-Macro. You may write your edit macro in REXX, just as you can do it in any other language.
O. |
|
Back to top |
|
|
coolzin20
New User
Joined: 07 Oct 2006 Posts: 3
|
|
|
|
By View mode i mean that i may not be able to save the changes made to the member.
If i open in edit mode then i will be able to save the changes, but i dont want the changes to be saved permanently |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
It would be easier to browse the member directly:
Code: |
INFile = "user.spf.data(MEMBR)"
Address ISPEXEC "BROWSE DATASET('"INFile"')" |
No need to copy the member, and it cannot be updated. |
|
Back to top |
|
|
coolzin20
New User
Joined: 07 Oct 2006 Posts: 3
|
|
|
|
But if i open the file in browse mode then i wont be able to do JEM on the member thus created after merging the two members together and i also need to do some changes in the member |
|
Back to top |
|
|
|