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

REXX to check whether the dataset is migrated or not


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vimalonline
Warnings : 1

New User


Joined: 08 Apr 2006
Posts: 14
Location: In front of my PC

PostPosted: Wed May 24, 2006 8:06 pm
Reply with quote

Code:
 /* REXX */                                                       
 ADDRESS ISPEXEC                                                 
 DSNLEV = 'my.dsn'                   
 "LMDINIT LISTID("LSTID") LEVEL("DSNLEV")"                       
 "LMDLIST LISTID("LSTID") OPTION(LIST) DATASET(DSVAR) STATS(YES)"
 SAY 'ZDLMIGR' ZDLMIGR                                           
 EXIT                                                           



This Rexx checks for only one dataset.Similiarly How to check for the multiple datasets??
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sun May 28, 2006 12:37 am
Reply with quote

something like

Code:
X = OUTTRAP("LCAT.")
ADRESS TSO "LISTCAT LVL('HLQ.ABC.DEF') ALL"
DO ICAT = 1 TO LCAT.O
    pseudo : check  : If Index(LCAT.ICAT,'VOLSER--') > 0  Then
    pseudo : check word MIGRAT
END

   
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 Run rexx with JCL Job CLIST & REXX 1
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Does anyone know rexx for VSE CLIST & REXX 3
No new posts TSO ALLOC In REXX Needs Improvement JCL & VSAM 3
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:

Back to Top