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: 4649
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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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