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
 

 

REXX to check whether the dataset is migrated or not

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: REXX to check whether the dataset is migrated or not
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: 456
Location: Belgium

PostPosted: Sun May 28, 2006 12:37 am    Post subject:
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    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. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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