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 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