Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Moving a Member in a PDS.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
srajendran

New User


Joined: 25 Sep 2006
Posts: 22

PostPosted: Mon Sep 25, 2006 6:23 pm    Post subject: Moving a Member in a PDS.
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    Post subject: Re: Moving a Member in a PDS.
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: 22

PostPosted: Mon Sep 25, 2006 7:17 pm    Post subject:
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    Post subject: Re: Moving a Member in a PDS.
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    Post subject:
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: 22

PostPosted: Tue Sep 26, 2006 12:52 pm    Post subject: Re: Moving a Member in a PDS.
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: 2360
Location: Israel

PostPosted: Tue Sep 26, 2006 2:08 pm    Post subject:
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    Post subject: LMMOVE IN REXX
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

Moderator Team Head


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

PostPosted: Thu Feb 21, 2008 11:14 am    Post subject: Reply to: Moving a Member in a PDS.
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Moving a PD to PD spoorni DFSORT/ICETOOL 8 Fri Oct 07, 2016 9:52 pm
No new posts Moving character data to smallint in db2 rikdeb DB2 5 Thu Jul 14, 2016 12:38 am
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us