View previous topic :: View next topic
|
Author |
Message |
srajendran
New User
Joined: 25 Sep 2006 Posts: 24
|
|
|
|
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 |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
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 |
|
|
srajendran
New User
Joined: 25 Sep 2006 Posts: 24
|
|
|
|
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 |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
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 |
|
|
srajendran
New User
Joined: 25 Sep 2006 Posts: 24
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
shahul hameed abdul kader Currently Banned New User
Joined: 20 Feb 2008 Posts: 5 Location: navalur
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
There are examples in the LMMOVE link shown above. |
|
Back to top |
|
|
|