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

Moving a Member in a PDS.


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

New User


Joined: 25 Sep 2006
Posts: 24

PostPosted: Mon Sep 25, 2006 6:23 pm
Reply with quote

Hi,

I need to move a member in a dataset to the other. I used the PRINTDS command but the ISPF Statistics were lost after the move is finished. Is there any other way to move a member in one dataset to the other using REXX.

Thnx in Advance,
Suresh
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 25, 2006 6:34 pm
Reply with quote

I'm not sure what PRINTDS has to do with moving a member. It seems like you have two options to use:

1. Use IEBCOPY to copy the selected member(s) to the target PDS, then use the DELETE TSO command to delete the selected member(s) from the source PDS.

2. Use the ISPF Service LMMOVE.
Back to top
View user's profile Send private message
srajendran

New User


Joined: 25 Sep 2006
Posts: 24

PostPosted: Mon Sep 25, 2006 7:17 pm
Reply with quote

Thanks for ur info...

To Use IEBCOPY, Do I have to submit a JCL from a REXX or I can use IEBCOPY directly as a command. Please guide me thoough Examples...

Thanks again...
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 25, 2006 8:23 pm
Reply with quote

See this post for an example.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 25, 2006 8:35 pm
Reply with quote

srajendran wrote:
To Use IEBCOPY, Do I have to submit a JCL from a REXX or I can use IEBCOPY directly as a command.

IEBCOPY is a program. It can be executed just like any other program. Why on earth would you think that you'd have to submit a job just to run it?
Back to top
View user's profile Send private message
srajendran

New User


Joined: 25 Sep 2006
Posts: 24

PostPosted: Tue Sep 26, 2006 12:52 pm
Reply with quote

I got a RC of -3 when i used LMMOVE. The QW info says "Certificate key is not compatible with cipher suite." WHat certificate should i use to be compatible with??
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Sep 26, 2006 2:08 pm
Reply with quote

Are you trying LMMOVE in batch? If yes, you have to add ISPF libraries to your job, since you are using ISPF services.

Look for 'ISPF' and 'BATCH' in this forum to find some examples, or simply read the fine manual.

O.
Back to top
View user's profile Send private message
shahul hameed abdul kader
Currently Banned

New User


Joined: 20 Feb 2008
Posts: 5
Location: navalur

PostPosted: Thu Feb 21, 2008 11:12 am
Reply with quote

HOW CAN I MOVE ONE MEMBER FORM ONE PDS TO ANOTHER.
IF IT IS LMMOVE OPTION ,CAN U GIVE THE SYNTAX FOR THAT.

THANKS
ABDUL
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Feb 21, 2008 11:14 am
Reply with quote

There are examples in the LMMOVE link shown above.
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 How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
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
No new posts Library member auto insert option TSO/ISPF 3
Search our Forums:

Back to Top