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
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm


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