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
 

 

How to find out if a dataset is migrated or not using REXX

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

New User


Joined: 16 Mar 2007
Posts: 3
Location: Chennai

PostPosted: Tue Mar 20, 2007 12:52 pm    Post subject: How to find out if a dataset is migrated or not using REXX
Reply with quote

I need to list all the dataset having same first qualifier. Then the datasets have to identified if they are migrated or not.The migrated one s have to be deleted.

i have just listed the datasets.

Kalai. icon_smile.gif
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 20, 2007 1:41 pm    Post subject:
Reply with quote

Use LISTDSI with the NORECALL option
Back to top
View user's profile Send private message
kalai.s

New User


Joined: 16 Mar 2007
Posts: 3
Location: Chennai

PostPosted: Tue Mar 20, 2007 2:45 pm    Post subject: Re: How to find out if a dataset is migrated or not using RE
Reply with quote

can you tell me the syntax of this pls..

kalai.
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: Tue Mar 20, 2007 2:51 pm    Post subject: Re: How to find out if a dataset is migrated or not using RE
Reply with quote

It's in the manual.
Back to top
View user's profile Send private message
akhi007

New User


Joined: 30 Jan 2006
Posts: 35
Location: Richmond

PostPosted: Wed Mar 21, 2007 1:45 pm    Post subject: Re: How to find out if a dataset is migrated or not using RE
Reply with quote

hi,

U can use the LM utilities for that. Use the LMDLIST function for that.
Some system variables will be populated while using this funtion. Check the system variable ZDLMIGR, if it is YES means 'Migrated' else not.

Please let me know if you need more information

Hope this helps, akhi
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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