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

how to copy from one PDS to another PDS member in view mode


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
coolzin20

New User


Joined: 07 Oct 2006
Posts: 3

PostPosted: Sat Oct 07, 2006 12:00 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat Oct 07, 2006 9:57 pm
Reply with quote

What do you mean by "in view mode"? I don't see how this relates to a CLIST or REXX issue.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Oct 08, 2006 12:18 am
Reply with quote

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
View user's profile Send private message
coolzin20

New User


Joined: 07 Oct 2006
Posts: 3

PostPosted: Mon Oct 09, 2006 5:10 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Mon Oct 09, 2006 6:04 pm
Reply with quote

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
View user's profile Send private message
coolzin20

New User


Joined: 07 Oct 2006
Posts: 3

PostPosted: Tue Oct 10, 2006 6:11 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts SET PATH in View DDL DB2 2
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top