IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Mar 20, 2007 1:41 pm
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
Reply with quote

can you tell me the syntax of this pls..

kalai.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Mar 20, 2007 2:51 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top