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. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


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